pub enum RailPlacement {
Up,
Down,
Left,
Right,
}Variants§
Trait Implementations§
Source§impl Clone for RailPlacement
impl Clone for RailPlacement
Source§fn clone(&self) -> RailPlacement
fn clone(&self) -> RailPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RailPlacement
Source§impl Debug for RailPlacement
impl Debug for RailPlacement
impl Eq for RailPlacement
Source§impl PartialEq for RailPlacement
impl PartialEq for RailPlacement
Source§fn eq(&self, other: &RailPlacement) -> bool
fn eq(&self, other: &RailPlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RailPlacement
Auto Trait Implementations§
impl Freeze for RailPlacement
impl RefUnwindSafe for RailPlacement
impl Send for RailPlacement
impl Sync for RailPlacement
impl Unpin for RailPlacement
impl UnsafeUnpin for RailPlacement
impl UnwindSafe for RailPlacement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.