pub enum InterfaceDefBody {
Semicolon,
Brace {
elements: Vec<Node<InterfaceDefBodyElement>>,
},
}Expand description
Body of an interface definition: ; or { InterfaceDefBodyElement* }.
Variants§
Trait Implementations§
Source§impl Clone for InterfaceDefBody
impl Clone for InterfaceDefBody
Source§fn clone(&self) -> InterfaceDefBody
fn clone(&self) -> InterfaceDefBody
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 InterfaceDefBody
impl Debug for InterfaceDefBody
impl Eq for InterfaceDefBody
Source§impl PartialEq for InterfaceDefBody
impl PartialEq for InterfaceDefBody
Source§fn eq(&self, other: &InterfaceDefBody) -> bool
fn eq(&self, other: &InterfaceDefBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterfaceDefBody
Auto Trait Implementations§
impl Freeze for InterfaceDefBody
impl RefUnwindSafe for InterfaceDefBody
impl Send for InterfaceDefBody
impl Sync for InterfaceDefBody
impl Unpin for InterfaceDefBody
impl UnsafeUnpin for InterfaceDefBody
impl UnwindSafe for InterfaceDefBody
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