pub enum InterfaceField {
Field(Field),
Union(Union),
Record(Record),
Callback(Callback),
}Variants§
Trait Implementations§
Source§impl Clone for InterfaceField
impl Clone for InterfaceField
Source§fn clone(&self) -> InterfaceField
fn clone(&self) -> InterfaceField
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 InterfaceField
impl Debug for InterfaceField
Source§impl PartialEq for InterfaceField
impl PartialEq for InterfaceField
Source§impl XmlDeserialize for InterfaceField
impl XmlDeserialize for InterfaceField
fn deserialize<B: BufRead>( _tag_: &[u8], _reader_: &mut Reader<B>, _attrs_: Attributes<'_>, _is_empty_: bool, ) -> Self
A helper function used when ty =
untag. It could help
us to find out the children tags when deserializingfn de_root() -> Option<&'static [u8]>
§fn __deserialize_from_unparsed_array(
_array: Vec<(&'static [u8], Unparsed)>,
) -> Self
fn __deserialize_from_unparsed_array( _array: Vec<(&'static [u8], Unparsed)>, ) -> Self
A helper function used when handling the untag types. Read more
fn __deserialize_from_text(_: &str) -> Option<Self>where
Self: Sized,
impl Eq for InterfaceField
impl StructuralPartialEq for InterfaceField
Auto Trait Implementations§
impl Freeze for InterfaceField
impl RefUnwindSafe for InterfaceField
impl Send for InterfaceField
impl Sync for InterfaceField
impl Unpin for InterfaceField
impl UnwindSafe for InterfaceField
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