pub struct DocumentHint<'a>(/* private fields */);Expand description
Marker type to indicate that a sequence of Element should be validated as a document.
Trait Implementations§
Source§impl<'a> From<DocumentHint<'a>> for IonSchemaElement<'a>
impl<'a> From<DocumentHint<'a>> for IonSchemaElement<'a>
Source§fn from(value: DocumentHint<'a>) -> Self
fn from(value: DocumentHint<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for DocumentHint<'a>
impl<'a> RefUnwindSafe for DocumentHint<'a>
impl<'a> Send for DocumentHint<'a>
impl<'a> Sync for DocumentHint<'a>
impl<'a> Unpin for DocumentHint<'a>
impl<'a> UnwindSafe for DocumentHint<'a>
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