pub struct OperandKind<'a> {
pub category: OperandKindCategory,
pub kind: &'a str,
pub doc: Option<&'a str>,
pub enumerants: Option<Vec<OperandKindEnumerant<'a>>>,
pub bases: Option<Vec<&'a str>>,
}
Fields§
§category: OperandKindCategory
§kind: &'a str
§doc: Option<&'a str>
§enumerants: Option<Vec<OperandKindEnumerant<'a>>>
§bases: Option<Vec<&'a str>>
Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for OperandKind<'a>
impl<'de: 'a, 'a> Deserialize<'de> for OperandKind<'a>
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<'a> RefUnwindSafe for OperandKind<'a>
impl<'a> Send for OperandKind<'a>
impl<'a> Sync for OperandKind<'a>
impl<'a> Unpin for OperandKind<'a>
impl<'a> UnwindSafe for OperandKind<'a>
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