Struct nuscenes_data::token::ShortToken
source · pub struct ShortToken(pub [u8; 16]);Tuple Fields§
§0: [u8; 16]Trait Implementations§
source§impl Clone for ShortToken
impl Clone for ShortToken
source§fn clone(&self) -> ShortToken
fn clone(&self) -> ShortToken
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 moresource§impl Debug for ShortToken
impl Debug for ShortToken
source§impl<'de> Deserialize<'de> for ShortToken
impl<'de> Deserialize<'de> for ShortToken
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 Display for ShortToken
impl Display for ShortToken
source§impl Hash for ShortToken
impl Hash for ShortToken
source§impl PartialEq<ShortToken> for ShortToken
impl PartialEq<ShortToken> for ShortToken
source§fn eq(&self, other: &ShortToken) -> bool
fn eq(&self, other: &ShortToken) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ShortToken
impl Serialize for ShortToken
source§impl TryFrom<&str> for ShortToken
impl TryFrom<&str> for ShortToken
impl Copy for ShortToken
impl Eq for ShortToken
impl StructuralEq for ShortToken
impl StructuralPartialEq for ShortToken
Auto Trait Implementations§
impl RefUnwindSafe for ShortToken
impl Send for ShortToken
impl Sync for ShortToken
impl Unpin for ShortToken
impl UnwindSafe for ShortToken
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
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.