[][src]Struct abi_stable::type_layout::ModPath

#[repr(transparent)]
pub struct ModPath(_);

A module path.

Methods

impl ModPath[src]

pub const NO_PATH: Self[src]

An item without a path

pub const PRELUDE: Self[src]

An item in the prelude.

pub const fn inside(path: NulStr<'static>) -> Self[src]

Constructs a ModPath from a string with a module path.

Trait Implementations

impl Clone for ModPath[src]

impl Copy for ModPath[src]

impl Debug for ModPath[src]

impl Display for ModPath[src]

impl Eq for ModPath[src]

impl GetStaticEquivalent_ for ModPath[src]

type StaticEquivalent = _static_ModPath

impl PartialEq<ModPath> for ModPath[src]

impl SharedStableAbi for ModPath[src]

type IsNonZeroType = <NulStr<'static> as __SharedStableAbi>::IsNonZeroType

Whether this type has a single invalid bit-pattern. Read more

type Kind = __ValueKind

The kind of abi stability of this type,there are 2: Read more

impl StructuralEq for ModPath[src]

impl StructuralPartialEq for ModPath[src]

Auto Trait Implementations

impl RefUnwindSafe for ModPath

impl Send for ModPath

impl Sync for ModPath

impl Unpin for ModPath

impl UnwindSafe for ModPath

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> BorrowOwned<'a> for T where
    T: 'a + Clone
[src]

type ROwned = T

type RBorrowed = &'a T

impl<T> From<T> for T[src]

impl<This> GetConstGenericVTable for This where
    This: StableAbi + Eq + PartialEq<This> + Debug + Send + Sync
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SelfOps for T where
    T: ?Sized
[src]

impl<This> StableAbi for This where
    This: SharedStableAbi<Kind = ValueKind>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<This> TransmuteElement for This where
    This: ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The error type returned when the conversion fails.

impl<T> TypeIdentity for T where
    T: ?Sized
[src]

type Type = T

The same type as Self. Read more