pub struct InterfaceDef {
pub header: InterfaceHeader,
pub interface_body: Option<InterfaceBody>,
}Fields§
§header: InterfaceHeader§interface_body: Option<InterfaceBody>Trait Implementations§
Source§impl Clone for InterfaceDef
impl Clone for InterfaceDef
Source§fn clone(&self) -> InterfaceDef
fn clone(&self) -> InterfaceDef
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 InterfaceDef
impl Debug for InterfaceDef
Source§impl<'de> Deserialize<'de> for InterfaceDef
impl<'de> Deserialize<'de> for InterfaceDef
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
Source§impl From<InterfaceDef> for InterfaceDef
impl From<InterfaceDef> for InterfaceDef
Source§fn from(value: InterfaceDef) -> Self
fn from(value: InterfaceDef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InterfaceDef
impl RefUnwindSafe for InterfaceDef
impl Send for InterfaceDef
impl Sync for InterfaceDef
impl Unpin for InterfaceDef
impl UnsafeUnpin for InterfaceDef
impl UnwindSafe for InterfaceDef
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