pub struct MetadataAssignment {
pub value: Value,
pub source: SourceLocation,
}Expand description
Metadata assignment with source tracking
Fields§
§value: ValueThe metadata value
source: SourceLocationSource location of this assignment
Trait Implementations§
Source§impl Clone for MetadataAssignment
impl Clone for MetadataAssignment
Source§fn clone(&self) -> MetadataAssignment
fn clone(&self) -> MetadataAssignment
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 MetadataAssignment
impl Debug for MetadataAssignment
Source§impl PartialEq for MetadataAssignment
impl PartialEq for MetadataAssignment
impl StructuralPartialEq for MetadataAssignment
Auto Trait Implementations§
impl Freeze for MetadataAssignment
impl RefUnwindSafe for MetadataAssignment
impl Send for MetadataAssignment
impl Sync for MetadataAssignment
impl Unpin for MetadataAssignment
impl UnsafeUnpin for MetadataAssignment
impl UnwindSafe for MetadataAssignment
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