pub enum IdlTypeDefKind {
Struct {
kind: String,
fields: Vec<IdlField>,
},
TupleStruct {
kind: String,
fields: Vec<IdlType>,
},
Enum {
kind: String,
variants: Vec<IdlEnumVariant>,
},
}Variants§
Trait Implementations§
Source§impl Clone for IdlTypeDefKind
impl Clone for IdlTypeDefKind
Source§fn clone(&self) -> IdlTypeDefKind
fn clone(&self) -> IdlTypeDefKind
Returns a duplicate of the value. Read more
1.0.0 · 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 IdlTypeDefKind
impl Debug for IdlTypeDefKind
Source§impl<'de> Deserialize<'de> for IdlTypeDefKind
impl<'de> Deserialize<'de> for IdlTypeDefKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IdlTypeDefKind
impl RefUnwindSafe for IdlTypeDefKind
impl Send for IdlTypeDefKind
impl Sync for IdlTypeDefKind
impl Unpin for IdlTypeDefKind
impl UnsafeUnpin for IdlTypeDefKind
impl UnwindSafe for IdlTypeDefKind
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