Struct PrimitiveMeta

Source
pub struct PrimitiveMeta {
Show 21 fields pub mbool: Meta, pub mint: Meta, pub mint8: Meta, pub mint16: Meta, pub mint32: Meta, pub mint64: Meta, pub muint: Meta, pub muint_ptr: Meta, pub muint8: Meta, pub muint16: Meta, pub muint32: Meta, pub muint64: Meta, pub mfloat32: Meta, pub mfloat64: Meta, pub mcomplex64: Meta, pub mcomplex128: Meta, pub mstr: Meta, pub unsafe_ptr: Meta, pub default_sig: Meta, pub empty_iface: Meta, pub none: Meta,
}

Fields§

§mbool: Meta§mint: Meta§mint8: Meta§mint16: Meta§mint32: Meta§mint64: Meta§muint: Meta§muint_ptr: Meta§muint8: Meta§muint16: Meta§muint32: Meta§muint64: Meta§mfloat32: Meta§mfloat64: Meta§mcomplex64: Meta§mcomplex128: Meta§mstr: Meta§unsafe_ptr: Meta§default_sig: Meta§empty_iface: Meta§none: Meta

Implementations§

Trait Implementations§

Source§

impl Debug for PrimitiveMeta

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

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> 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.