pub struct Interface<'a> {
pub name: &'a str,
pub methods: Box<[Method<'a>]>,
pub signals: Box<[Signal<'a>]>,
pub properties: Box<[Property<'a>]>,
pub annotations: Box<[Annotation<'a>]>,
pub doc: Doc<'a>,
}Expand description
A single interface.
Fields§
§name: &'a strThe name of the interface.
methods: Box<[Method<'a>]>Methods associated with the interface.
signals: Box<[Signal<'a>]>Signals associated with the interface.
properties: Box<[Property<'a>]>Properties associated with the interface.
annotations: Box<[Annotation<'a>]>Annotations applied to the interface.
doc: Doc<'a>Documentation associated with the interface.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Interface<'a>
impl<'a> RefUnwindSafe for Interface<'a>
impl<'a> Send for Interface<'a>
impl<'a> Sync for Interface<'a>
impl<'a> Unpin for Interface<'a>
impl<'a> UnsafeUnpin for Interface<'a>
impl<'a> UnwindSafe for Interface<'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