pub struct DocText(/* private fields */);Expand description
A validated non-empty documentation payload.
Implementations§
Trait Implementations§
impl Eq for DocText
Source§impl Ord for DocText
impl Ord for DocText
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DocText
impl PartialOrd for DocText
impl StructuralPartialEq for DocText
Auto Trait Implementations§
impl Freeze for DocText
impl RefUnwindSafe for DocText
impl Send for DocText
impl Sync for DocText
impl Unpin for DocText
impl UnsafeUnpin for DocText
impl UnwindSafe for DocText
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