pub struct Annotations { /* private fields */ }Expand description
An explicitly authored service-level Compose annotations value.
Implementations§
Source§impl Annotations
impl Annotations
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the exact span of the complete authored collection.
Sourcepub const fn form(&self) -> &AnnotationsForm
pub const fn form(&self) -> &AnnotationsForm
Returns the authored mapping or list form without semantic normalization.
Trait Implementations§
Source§impl Clone for Annotations
impl Clone for Annotations
Source§fn clone(&self) -> Annotations
fn clone(&self) -> Annotations
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 Annotations
impl Debug for Annotations
impl Eq for Annotations
Source§impl PartialEq for Annotations
impl PartialEq for Annotations
impl StructuralPartialEq for Annotations
Auto Trait Implementations§
impl Freeze for Annotations
impl RefUnwindSafe for Annotations
impl Send for Annotations
impl Sync for Annotations
impl Unpin for Annotations
impl UnsafeUnpin for Annotations
impl UnwindSafe for Annotations
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