pub struct EnvironmentMapEntry { /* private fields */ }Expand description
One mapping-syntax environment entry.
Implementations§
Source§impl EnvironmentMapEntry
impl EnvironmentMapEntry
Sourcepub const fn value(&self) -> &Located<ComposeScalar>
pub const fn value(&self) -> &Located<ComposeScalar>
Returns the unprocessed scalar value; null remains distinct from an empty string.
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete mapping-entry span.
Trait Implementations§
Source§impl Clone for EnvironmentMapEntry
impl Clone for EnvironmentMapEntry
Source§fn clone(&self) -> EnvironmentMapEntry
fn clone(&self) -> EnvironmentMapEntry
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 EnvironmentMapEntry
impl Debug for EnvironmentMapEntry
impl Eq for EnvironmentMapEntry
Source§impl PartialEq for EnvironmentMapEntry
impl PartialEq for EnvironmentMapEntry
impl StructuralPartialEq for EnvironmentMapEntry
Auto Trait Implementations§
impl Freeze for EnvironmentMapEntry
impl RefUnwindSafe for EnvironmentMapEntry
impl Send for EnvironmentMapEntry
impl Sync for EnvironmentMapEntry
impl Unpin for EnvironmentMapEntry
impl UnsafeUnpin for EnvironmentMapEntry
impl UnwindSafe for EnvironmentMapEntry
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