[]Struct dasn1::types::prefix::Prefixed

pub struct Prefixed<P, C, N, T> where
    C: ConstClass,
    N: Unsigned,
    P: Prefix
{ /* fields omitted */ }

Methods

impl<P, C, N, T> Prefixed<P, C, N, T> where
    C: ConstClass,
    N: Unsigned,
    P: Prefix

pub fn new(value: T) -> Prefixed<P, C, N, T>

pub fn into_inner(self) -> T

Trait Implementations

impl<P, C, N, T> PartialEq<Prefixed<P, C, N, T>> for Prefixed<P, C, N, T> where
    C: ConstClass + PartialEq<C>,
    N: PartialEq<N> + Unsigned,
    P: Prefix + PartialEq<P>,
    T: PartialEq<T>, 

impl<P, C, N, T> Debug for Prefixed<P, C, N, T> where
    C: ConstClass + Debug,
    N: Debug + Unsigned,
    P: Prefix + Debug,
    T: Debug

impl<P, C, N, T> Serialize for Prefixed<P, C, N, T> where
    C: ConstClass,
    N: Unsigned,
    P: Prefix,
    T: Serialize

impl<'de, P, C, N, T> Deserialize<'de> for Prefixed<P, C, N, T> where
    C: ConstClass,
    N: Unsigned,
    P: Prefix,
    T: Deserialize<'de>, 

impl<P, C, N, T> Clone for Prefixed<P, C, N, T> where
    C: ConstClass + Clone,
    N: Clone + Unsigned,
    P: Prefix + Clone,
    T: Clone

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<P, C, N, T> Sync for Prefixed<P, C, N, T> where
    C: Sync,
    N: Sync,
    P: Sync,
    T: Sync

impl<P, C, N, T> Unpin for Prefixed<P, C, N, T> where
    C: Unpin,
    N: Unpin,
    P: Unpin,
    T: Unpin

impl<P, C, N, T> Send for Prefixed<P, C, N, T> where
    C: Send,
    N: Send,
    P: Send,
    T: Send

impl<P, C, N, T> UnwindSafe for Prefixed<P, C, N, T> where
    C: UnwindSafe,
    N: UnwindSafe,
    P: UnwindSafe,
    T: UnwindSafe

impl<P, C, N, T> RefUnwindSafe for Prefixed<P, C, N, T> where
    C: RefUnwindSafe,
    N: RefUnwindSafe,
    P: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self