[−][src]Enum asn1rs_model::model::rust::Rust
Variants
Enum(PlainEnum)
DataEnum(DataEnum)
TupleStruct(RustType)
Used to represent a single, unnamed inner type
Trait Implementations
impl Clone for Rust
[src]
impl Debug for Rust
[src]
impl Generator<Rust> for RustCodeGenerator
[src]
type Error = ()
fn add_model(&mut self, model: Model<Rust>)
[src]
fn models(&self) -> &[Model<Rust>]
[src]
fn models_mut(&mut self) -> &mut [Model<Rust>]
[src]
fn to_string(&self) -> Result<Vec<(String, String)>, Self::Error>
[src]
impl GeneratorSupplement<Rust> for ProtobufSerializer
[src]
fn add_imports(&self, scope: &mut Scope)
[src]
fn impl_supplement(&self, scope: &mut Scope, definition: &Definition<Rust>)
[src]
fn extend_impl_of_struct(
&self,
_name: &str,
_impl_scope: &mut Impl,
_fields: &[Field]
)
[src]
&self,
_name: &str,
_impl_scope: &mut Impl,
_fields: &[Field]
)
fn extend_impl_of_enum(
&self,
_name: &str,
_impl_scope: &mut Impl,
_enumeration: &PlainEnum
)
[src]
&self,
_name: &str,
_impl_scope: &mut Impl,
_enumeration: &PlainEnum
)
fn extend_impl_of_data_enum(
&self,
_name: &str,
_impl_scope: &mut Impl,
_enumeration: &DataEnum
)
[src]
&self,
_name: &str,
_impl_scope: &mut Impl,
_enumeration: &DataEnum
)
fn extend_impl_of_tuple(
&self,
_name: &str,
_impl_scope: &mut Impl,
_definition: &RustType
)
[src]
&self,
_name: &str,
_impl_scope: &mut Impl,
_definition: &RustType
)
impl PartialEq<Rust> for Rust
[src]
impl PartialOrd<Rust> for Rust
[src]
fn partial_cmp(&self, other: &Rust) -> Option<Ordering>
[src]
fn lt(&self, other: &Rust) -> bool
[src]
fn le(&self, other: &Rust) -> bool
[src]
fn gt(&self, other: &Rust) -> bool
[src]
fn ge(&self, other: &Rust) -> bool
[src]
impl StructuralPartialEq for Rust
[src]
Auto Trait Implementations
impl RefUnwindSafe for Rust
impl Send for Rust
impl Sync for Rust
impl Unpin for Rust
impl UnwindSafe for Rust
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>,