pub struct InterfaceBody {
pub brace_span: (Span, Span),
pub members: Vec<InterfaceMemberDecl>,
}Expand description
An interface body: { members }.
Fields§
§brace_span: (Span, Span)§members: Vec<InterfaceMemberDecl>Trait Implementations§
Source§impl Clone for InterfaceBody
impl Clone for InterfaceBody
Source§fn clone(&self) -> InterfaceBody
fn clone(&self) -> InterfaceBody
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 InterfaceBody
impl Debug for InterfaceBody
impl Eq for InterfaceBody
Source§impl Hash for InterfaceBody
impl Hash for InterfaceBody
Source§impl PartialEq for InterfaceBody
impl PartialEq for InterfaceBody
Source§fn eq(&self, other: &InterfaceBody) -> bool
fn eq(&self, other: &InterfaceBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterfaceBody
Auto Trait Implementations§
impl Freeze for InterfaceBody
impl RefUnwindSafe for InterfaceBody
impl Send for InterfaceBody
impl Sync for InterfaceBody
impl Unpin for InterfaceBody
impl UnsafeUnpin for InterfaceBody
impl UnwindSafe for InterfaceBody
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