Meta

Struct Meta 

Source
pub struct Meta<F, S, T>(/* private fields */);
Expand description

Implemented packer

Trait Implementations§

Source§

impl<F: Clone, S: Clone, T: Clone> Clone for Meta<F, S, T>

Source§

fn clone(&self) -> Meta<F, S, T>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<F: Debug, S: Debug, T: Debug> Debug for Meta<F, S, T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<F: Default, S: Default, T: Default> Default for Meta<F, S, T>

Source§

fn default() -> Meta<F, S, T>

Returns the “default value” for a type. Read more
Source§

impl<F, S, T> IterBase<S> for Meta<F, S, T>

Source§

type T = T

Source§

impl<F: FnMut(&mut S) -> Option<T>, S, T> IterNext<S> for Meta<F, S, T>

Source§

fn iter_next(&mut self, state: &mut S) -> Option<Self::T>

Source§

impl<F: FnMut(&mut S) -> Option<T>, S, T> IterNextBack<S> for Meta<F, S, T>

Source§

fn iter_next_back(&mut self, state: &mut S) -> Option<Self::T>

Source§

impl<F: FnMut(&mut S, usize) -> Option<T>, S, T> IterNth<S> for Meta<F, S, T>

Source§

fn iter_nth( &mut self, state: &mut S, _next: &mut impl IterNext<S, T = Self::T>, n: usize, ) -> Option<Self::T>

Source§

impl<F: FnMut(&mut S, usize) -> Option<T>, S, T> IterNthBack<S> for Meta<F, S, T>

Source§

fn iter_nth_back( &mut self, state: &mut S, _next_back: &mut impl IterNextBack<S, T = Self::T>, n: usize, ) -> Option<Self::T>

Source§

impl<F: Fn(&S) -> (usize, Option<usize>), S, T> IterSizeHint<S> for Meta<F, S, T>

Source§

fn iter_size_hint(&self, state: &S) -> (usize, Option<usize>)

Source§

impl<F: Ord, S: Ord, T: Ord> Ord for Meta<F, S, T>

Source§

fn cmp(&self, other: &Meta<F, S, T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl<F: PartialEq, S: PartialEq, T: PartialEq> PartialEq for Meta<F, S, T>

Source§

fn eq(&self, other: &Meta<F, S, T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<F: PartialOrd, S: PartialOrd, T: PartialOrd> PartialOrd for Meta<F, S, T>

Source§

fn partial_cmp(&self, other: &Meta<F, S, T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<F: Copy, S: Copy, T: Copy> Copy for Meta<F, S, T>

Source§

impl<F: Eq, S: Eq, T: Eq> Eq for Meta<F, S, T>

Source§

impl<F, S, T> Implemented for Meta<F, S, T>

Source§

impl<F, S, T> StructuralPartialEq for Meta<F, S, T>

Auto Trait Implementations§

§

impl<F, S, T> Freeze for Meta<F, S, T>
where F: Freeze,

§

impl<F, S, T> RefUnwindSafe for Meta<F, S, T>

§

impl<F, S, T> Send for Meta<F, S, T>
where F: Send, T: Send, S: Send,

§

impl<F, S, T> Sync for Meta<F, S, T>
where F: Sync, T: Sync, S: Sync,

§

impl<F, S, T> Unpin for Meta<F, S, T>
where F: Unpin, T: Unpin, S: Unpin,

§

impl<F, S, T> UnwindSafe for Meta<F, S, T>
where F: UnwindSafe, T: UnwindSafe, S: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.