Struct lotus_script::vehicle::Pantograph
pub struct Pantograph { /* private fields */ }
Implementations§
§impl Pantograph
impl Pantograph
pub fn get(index: usize) -> Result<Pantograph, VehicleError>
Trait Implementations§
§impl Clone for Pantograph
impl Clone for Pantograph
§fn clone(&self) -> Pantograph
fn clone(&self) -> Pantograph
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for Pantograph
impl Debug for Pantograph
§impl Hash for Pantograph
impl Hash for Pantograph
§impl PartialEq for Pantograph
impl PartialEq for Pantograph
§fn eq(&self, other: &Pantograph) -> bool
fn eq(&self, other: &Pantograph) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Pantograph
impl Eq for Pantograph
impl StructuralPartialEq for Pantograph
Auto Trait Implementations§
impl Freeze for Pantograph
impl RefUnwindSafe for Pantograph
impl Send for Pantograph
impl Sync for Pantograph
impl Unpin for Pantograph
impl UnwindSafe for Pantograph
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more