pub struct GlmObject<'a> { /* private fields */ }Expand description
One explicit declaration. Unknown classes/properties remain visible and are not thereby certified as electrically supported. Properties are not cloned.
Implementations§
Source§impl<'a> GlmObject<'a>
impl<'a> GlmObject<'a>
pub const fn key(&self) -> ObjectKey
pub const fn class_name(&self) -> &'a str
pub const fn explicit_id(&self) -> Option<u32>
pub fn name(&self) -> Option<&str>
pub const fn span(&self) -> &'a SourceSpan
pub fn properties(&self) -> &[GlmProperty<'a>]
Sourcepub fn other_statements(&self) -> &[&'a Statement]
pub fn other_statements(&self) -> &[&'a Statement]
Uninterpreted body syntax, never silently discarded by the index.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GlmObject<'a>
impl<'a> RefUnwindSafe for GlmObject<'a>
impl<'a> Send for GlmObject<'a>
impl<'a> Sync for GlmObject<'a>
impl<'a> Unpin for GlmObject<'a>
impl<'a> UnsafeUnpin for GlmObject<'a>
impl<'a> UnwindSafe for GlmObject<'a>
Blanket Implementations§
impl<T> Allocation for T
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