pub struct DocumentStorageText<'a>(/* private fields */);Expand description
Helper struct for rendering a Value’s document storage text form.
Returned by Value::document_storage_text; see its documentation for
the format contract. Like std::path::Display, this is an opaque
adapter — the only way to obtain one is the method that guarantees the
value has a document text form.
Trait Implementations§
Source§impl<'a> Debug for DocumentStorageText<'a>
impl<'a> Debug for DocumentStorageText<'a>
Auto Trait Implementations§
impl<'a> Freeze for DocumentStorageText<'a>
impl<'a> RefUnwindSafe for DocumentStorageText<'a>
impl<'a> Send for DocumentStorageText<'a>
impl<'a> Sync for DocumentStorageText<'a>
impl<'a> Unpin for DocumentStorageText<'a>
impl<'a> UnsafeUnpin for DocumentStorageText<'a>
impl<'a> UnwindSafe for DocumentStorageText<'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