pub struct ClassBody {
pub members: Box<[ClassMember]>,
pub span: Span,
}Expand description
The braced member list of a class-like declaration.
Fields§
§members: Box<[ClassMember]>Members in source order.
span: SpanSource span.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClassBody
impl RefUnwindSafe for ClassBody
impl Send for ClassBody
impl Sync for ClassBody
impl Unpin for ClassBody
impl UnsafeUnpin for ClassBody
impl UnwindSafe for ClassBody
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