pub struct Object {
pub kind: ObjectKind,
pub attrs: Vec<Attr>,
pub span: Option<Span>,
}Expand description
A drawable object: a base plus a chain of attributes.
Fields§
§kind: ObjectKind§attrs: Vec<Attr>§span: Option<Span>Span of the statement’s leading token (for per-object geometry export and future diagnostics).
Trait Implementations§
impl StructuralPartialEq for Object
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
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