pub struct ObjectDecl {
pub name: String,
pub parents: Vec<(String, Vec<Expr>)>,
pub body: Vec<Stmt>,
pub span: Span,
}Fields§
§name: String§parents: Vec<(String, Vec<Expr>)>§body: Vec<Stmt>§span: SpanTrait Implementations§
Source§impl Clone for ObjectDecl
impl Clone for ObjectDecl
Source§fn clone(&self) -> ObjectDecl
fn clone(&self) -> ObjectDecl
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 ObjectDecl
impl Debug for ObjectDecl
Source§impl PartialEq for ObjectDecl
impl PartialEq for ObjectDecl
Source§fn eq(&self, other: &ObjectDecl) -> bool
fn eq(&self, other: &ObjectDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObjectDecl
Auto Trait Implementations§
impl Freeze for ObjectDecl
impl RefUnwindSafe for ObjectDecl
impl Send for ObjectDecl
impl Sync for ObjectDecl
impl Unpin for ObjectDecl
impl UnsafeUnpin for ObjectDecl
impl UnwindSafe for ObjectDecl
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