pub struct TrustVector(pub u8);Expand description
A vector encoded in one of 48 exact directions (6 bits)
Tuple Fields§
§0: u8Implementations§
Trait Implementations§
Source§impl Clone for TrustVector
impl Clone for TrustVector
Source§fn clone(&self) -> TrustVector
fn clone(&self) -> TrustVector
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 moreSource§impl Debug for TrustVector
impl Debug for TrustVector
Source§impl<'de> Deserialize<'de> for TrustVector
impl<'de> Deserialize<'de> for TrustVector
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TrustVector
impl Hash for TrustVector
Source§impl PartialEq for TrustVector
impl PartialEq for TrustVector
Source§fn eq(&self, other: &TrustVector) -> bool
fn eq(&self, other: &TrustVector) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TrustVector
impl Serialize for TrustVector
impl Copy for TrustVector
impl Eq for TrustVector
impl StructuralPartialEq for TrustVector
Auto Trait Implementations§
impl Freeze for TrustVector
impl RefUnwindSafe for TrustVector
impl Send for TrustVector
impl Sync for TrustVector
impl Unpin for TrustVector
impl UnsafeUnpin for TrustVector
impl UnwindSafe for TrustVector
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