pub struct InlineInterface<'a> {
pub items: Vec<InterfaceItem<'a>>,
}
Expand description
Represents an inline interface in the AST.
Fields§
§items: Vec<InterfaceItem<'a>>
The items of the interface.
Trait Implementations§
Source§impl<'a> Clone for InlineInterface<'a>
impl<'a> Clone for InlineInterface<'a>
Source§fn clone(&self) -> InlineInterface<'a>
fn clone(&self) -> InlineInterface<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for InlineInterface<'a>
impl<'a> Debug for InlineInterface<'a>
Auto Trait Implementations§
impl<'a> Freeze for InlineInterface<'a>
impl<'a> RefUnwindSafe for InlineInterface<'a>
impl<'a> Send for InlineInterface<'a>
impl<'a> Sync for InlineInterface<'a>
impl<'a> Unpin for InlineInterface<'a>
impl<'a> UnwindSafe for InlineInterface<'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