Enum DecodingSampleType

pub enum DecodingSampleType

Variants

U8
U16
U32
U64
F16
F32
F64
I8
I16
I32
I64

Trait Implementations

impl Clone for DecodingSampleType

fn clone(&self) -> DecodingSampleType

impl Copy for DecodingSampleType

impl Debug for DecodingSampleType

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

impl Eq for DecodingSampleType

impl Hash for DecodingSampleType

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for DecodingSampleType

fn eq(&self, other: &DecodingSampleType) -> bool

impl StructuralPartialEq for DecodingSampleType

Auto Trait Implementations

impl Freeze for DecodingSampleType

impl RefUnwindSafe for DecodingSampleType

impl Send for DecodingSampleType

impl Sync for DecodingSampleType

impl Unpin for DecodingSampleType

impl UnsafeUnpin for DecodingSampleType

impl UnwindSafe for DecodingSampleType

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DecodingSampleType where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DecodingSampleType where ST: ?Sized, DT: ?Sized,

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for DecodingSampleType

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for DecodingSampleType where T: ?Sized,

impl<T> ToOwned for DecodingSampleType where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

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

fn into(self) -> U

Calls U::from(self).

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

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

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

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