pub struct InterfaceDef {
pub identification: Identification,
pub specializes: Option<String>,
pub specializes_span: Option<Span>,
pub body: InterfaceDefBody,
}Expand description
Interface definition: interface def Identification body.
Fields§
§identification: Identification§specializes: Option<String>§specializes_span: Option<Span>§body: InterfaceDefBodyTrait 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 (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 InterfaceDef
impl Debug for InterfaceDef
impl Eq for InterfaceDef
Source§impl PartialEq for InterfaceDef
impl PartialEq for InterfaceDef
Source§fn eq(&self, other: &InterfaceDef) -> bool
fn eq(&self, other: &InterfaceDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterfaceDef
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