#[repr(transparent)]pub struct SparseIndexVector(pub u8);Tuple Fields§
§0: u8Implementations§
Source§impl SparseIndexVector
impl SparseIndexVector
pub const NONE: Self
pub const Int32Vector: Self
pub const Uint16Vector: Self
pub const Uint8Vector: Self
pub const ENUM_MIN: u8 = 0
pub const ENUM_MAX: u8 = 3
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl Clone for SparseIndexVector
impl Clone for SparseIndexVector
Source§fn clone(&self) -> SparseIndexVector
fn clone(&self) -> SparseIndexVector
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 SparseIndexVector
impl Debug for SparseIndexVector
Source§impl Default for SparseIndexVector
impl Default for SparseIndexVector
Source§fn default() -> SparseIndexVector
fn default() -> SparseIndexVector
Returns the “default value” for a type. Read more
Source§impl EndianScalar for SparseIndexVector
impl EndianScalar for SparseIndexVector
Source§impl<'a> Follow<'a> for SparseIndexVector
impl<'a> Follow<'a> for SparseIndexVector
Source§impl Hash for SparseIndexVector
impl Hash for SparseIndexVector
Source§impl Ord for SparseIndexVector
impl Ord for SparseIndexVector
Source§fn cmp(&self, other: &SparseIndexVector) -> Ordering
fn cmp(&self, other: &SparseIndexVector) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SparseIndexVector
impl PartialEq for SparseIndexVector
Source§fn eq(&self, other: &SparseIndexVector) -> bool
fn eq(&self, other: &SparseIndexVector) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SparseIndexVector
impl PartialOrd for SparseIndexVector
Source§impl Push for SparseIndexVector
impl Push for SparseIndexVector
Source§impl<'a> Verifiable for SparseIndexVector
impl<'a> Verifiable for SparseIndexVector
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl Copy for SparseIndexVector
impl Eq for SparseIndexVector
impl SimpleToVerifyInSlice for SparseIndexVector
impl StructuralPartialEq for SparseIndexVector
Auto Trait Implementations§
impl Freeze for SparseIndexVector
impl RefUnwindSafe for SparseIndexVector
impl Send for SparseIndexVector
impl Sync for SparseIndexVector
impl Unpin for SparseIndexVector
impl UnsafeUnpin for SparseIndexVector
impl UnwindSafe for SparseIndexVector
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> ClampCast for Twhere
T: PartialOrd + Copy + 'static,
impl<T> ClampCast for Twhere
T: PartialOrd + Copy + 'static,
fn clamp_cast<O>(self) -> O
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more