pub struct DirectionId(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for DirectionId
impl Clone for DirectionId
Source§fn clone(&self) -> DirectionId
fn clone(&self) -> DirectionId
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 DirectionId
Source§impl Debug for DirectionId
impl Debug for DirectionId
impl Eq for DirectionId
Source§impl Hash for DirectionId
impl Hash for DirectionId
Source§impl PartialEq for DirectionId
impl PartialEq for DirectionId
Source§fn eq(&self, other: &DirectionId) -> bool
fn eq(&self, other: &DirectionId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectionId
Auto Trait Implementations§
impl Freeze for DirectionId
impl RefUnwindSafe for DirectionId
impl Send for DirectionId
impl Sync for DirectionId
impl Unpin for DirectionId
impl UnsafeUnpin for DirectionId
impl UnwindSafe for DirectionId
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