[−][src]Struct asn1rs_model::model::Choice
Implementations
impl Choice
[src]
pub fn from_variants(variants: impl Iterator<Item = ChoiceVariant>) -> Self
[src]
pub const fn with_extension_after(self, extension_after: Option<usize>) -> Self
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn variants(&self) -> impl Iterator<Item = &ChoiceVariant>
[src]
pub fn is_extensible(&self) -> bool
[src]
pub fn extension_after_index(&self) -> Option<usize>
[src]
Trait Implementations
impl Clone for Choice
[src]
impl Debug for Choice
[src]
impl From<Vec<ChoiceVariant>> for Choice
[src]
fn from(variants: Vec<ChoiceVariant>) -> Self
[src]
impl PartialEq<Choice> for Choice
[src]
impl PartialOrd<Choice> for Choice
[src]
fn partial_cmp(&self, other: &Choice) -> Option<Ordering>
[src]
fn lt(&self, other: &Choice) -> bool
[src]
fn le(&self, other: &Choice) -> bool
[src]
fn gt(&self, other: &Choice) -> bool
[src]
fn ge(&self, other: &Choice) -> bool
[src]
impl StructuralPartialEq for Choice
[src]
impl<'_> TryFrom<&'_ mut Peekable<IntoIter<Token>>> for Choice
[src]
Auto Trait Implementations
impl RefUnwindSafe for Choice
impl Send for Choice
impl Sync for Choice
impl Unpin for Choice
impl UnwindSafe for Choice
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>,