[−][src]Struct asn1rs_model::model::rust::DataVariant
Implementations
impl DataVariant
[src]
pub fn from_name_type<T: ToString>(name: T, r#type: RustType) -> Self
[src]
pub fn fallback_representation(&self) -> &(String, RustType)
[src]
pub fn name(&self) -> &str
[src]
pub fn type(&self) -> &RustType
[src]
Trait Implementations
impl Clone for DataVariant
[src]
fn clone(&self) -> DataVariant
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DataVariant
[src]
impl PartialEq<DataVariant> for DataVariant
[src]
fn eq(&self, other: &DataVariant) -> bool
[src]
fn ne(&self, other: &DataVariant) -> bool
[src]
impl PartialOrd<DataVariant> for DataVariant
[src]
fn partial_cmp(&self, other: &DataVariant) -> Option<Ordering>
[src]
fn lt(&self, other: &DataVariant) -> bool
[src]
fn le(&self, other: &DataVariant) -> bool
[src]
fn gt(&self, other: &DataVariant) -> bool
[src]
fn ge(&self, other: &DataVariant) -> bool
[src]
impl StructuralPartialEq for DataVariant
[src]
impl TagProperty for DataVariant
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataVariant
impl Send for DataVariant
impl Sync for DataVariant
impl Unpin for DataVariant
impl UnwindSafe for DataVariant
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,