pub struct TypedefType {
pub name: String,
pub type_ref: TypeRef,
pub array_dimensions: Vec<u32>,
pub sequence_max_length: Option<u32>,
pub string_max_length: Option<u32>,
}Expand description
<typedef>-Definition (Spec §7.3.3.4.7).
Fields§
§name: StringTypedef-Name.
type_ref: TypeRefAliased Type.
array_dimensions: Vec<u32>arrayDimensions (leer wenn kein Array).
sequence_max_length: Option<u32>sequenceMaxLength falls Sequence-Alias.
string_max_length: Option<u32>stringMaxLength falls Bounded-String.
Trait Implementations§
Source§impl Clone for TypedefType
impl Clone for TypedefType
Source§fn clone(&self) -> TypedefType
fn clone(&self) -> TypedefType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypedefType
impl Debug for TypedefType
Source§impl Default for TypedefType
impl Default for TypedefType
Source§impl PartialEq for TypedefType
impl PartialEq for TypedefType
Source§fn eq(&self, other: &TypedefType) -> bool
fn eq(&self, other: &TypedefType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TypedefType
impl StructuralPartialEq for TypedefType
Auto Trait Implementations§
impl Freeze for TypedefType
impl RefUnwindSafe for TypedefType
impl Send for TypedefType
impl Sync for TypedefType
impl Unpin for TypedefType
impl UnsafeUnpin for TypedefType
impl UnwindSafe for TypedefType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more