[−][src]Struct nu_source::DebugDoc
Fields
inner: Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
Methods
impl DebugDoc
[src]
pub fn new(
inner: Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
) -> Self
[src]
inner: Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
) -> Self
Constructs a new DebugDoc
.
Trait Implementations
impl PrettyDebug for DebugDoc
[src]
fn pretty(&self) -> DebugDocBuilder
[src]
fn to_doc(&self) -> DebugDoc
[src]
fn pretty_doc(
&self
) -> Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
[src]
&self
) -> Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
fn pretty_builder(&self) -> DocBuilder<'static, BoxAllocator, ShellAnnotation>
[src]
fn display(&self) -> String
[src]
fn plain_string(&self, width: usize) -> String
[src]
fn colored_string(&self, width: usize) -> String
[src]
impl From<DebugDoc> for Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
[src]
fn from(
input: DebugDoc
) -> Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
[src]
input: DebugDoc
) -> Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
impl Clone for DebugDoc
[src]
impl Eq for DebugDoc
[src]
impl Ord for DebugDoc
[src]
fn cmp(&self, other: &DebugDoc) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<DebugDoc> for DebugDoc
[src]
impl PartialOrd<DebugDoc> for DebugDoc
[src]
fn partial_cmp(&self, other: &DebugDoc) -> Option<Ordering>
[src]
fn lt(&self, other: &DebugDoc) -> bool
[src]
fn le(&self, other: &DebugDoc) -> bool
[src]
fn gt(&self, other: &DebugDoc) -> bool
[src]
fn ge(&self, other: &DebugDoc) -> bool
[src]
impl Debug for DebugDoc
[src]
impl Deref for DebugDoc
[src]
type Target = Doc<'static, BoxDoc<'static, ShellAnnotation>, ShellAnnotation>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Hash for DebugDoc
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for DebugDoc
[src]
impl StructuralEq for DebugDoc
[src]
Auto Trait Implementations
impl Send for DebugDoc
impl Sync for DebugDoc
impl Unpin for DebugDoc
impl UnwindSafe for DebugDoc
impl RefUnwindSafe for DebugDoc
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,