pub struct InterfaceDeclaration<'tree> {
pub span: Span,
pub body: InterfaceBody<'tree>,
pub name: Identifier<'tree>,
pub permits: Option<Permits<'tree>>,
pub type_parameters: Option<TypeParameters<'tree>>,
pub children: Vec<InterfaceDeclarationChildren<'tree>>,
}Fields§
§span: Span§body: InterfaceBody<'tree>§name: Identifier<'tree>§permits: Option<Permits<'tree>>§type_parameters: Option<TypeParameters<'tree>>§children: Vec<InterfaceDeclarationChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for InterfaceDeclaration<'tree>
impl<'tree> Clone for InterfaceDeclaration<'tree>
Source§fn clone(&self) -> InterfaceDeclaration<'tree>
fn clone(&self) -> InterfaceDeclaration<'tree>
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<'tree> Debug for InterfaceDeclaration<'tree>
impl<'tree> Debug for InterfaceDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for InterfaceDeclaration<'tree>
impl<'tree> FromNode<'tree> for InterfaceDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for InterfaceDeclaration<'tree>
impl<'tree> RefUnwindSafe for InterfaceDeclaration<'tree>
impl<'tree> Send for InterfaceDeclaration<'tree>
impl<'tree> Sync for InterfaceDeclaration<'tree>
impl<'tree> Unpin for InterfaceDeclaration<'tree>
impl<'tree> UnsafeUnpin for InterfaceDeclaration<'tree>
impl<'tree> UnwindSafe for InterfaceDeclaration<'tree>
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