[][src]Trait asn1rs_model::model::TagProperty

pub trait TagProperty {
    fn tag(&self) -> Option<Tag>;
fn set_tag(&mut self, tag: Tag);
fn reset_tag(&mut self); fn with_tag_opt(self, tag: Option<Tag>) -> Self
    where
        Self: Sized
, { ... }
fn with_tag(self, tag: Tag) -> Self
    where
        Self: Sized
, { ... }
fn without_tag(self) -> Self
    where
        Self: Sized
, { ... } }

Required methods

fn tag(&self) -> Option<Tag>

fn set_tag(&mut self, tag: Tag)

fn reset_tag(&mut self)

Loading content...

Provided methods

fn with_tag_opt(self, tag: Option<Tag>) -> Self where
    Self: Sized

fn with_tag(self, tag: Tag) -> Self where
    Self: Sized

fn without_tag(self) -> Self where
    Self: Sized

Loading content...

Implementors

impl TagProperty for DataVariant[src]

impl TagProperty for asn1rs_model::model::rust::Field[src]

impl TagProperty for Asn[src]

impl TagProperty for ChoiceVariant[src]

impl TagProperty for Definition<Asn>[src]

impl<T: TagProperty> TagProperty for asn1rs_model::model::Field<T>[src]

Loading content...