[−][src]Struct rustdoc::html::format::Buffer

pub(crate) struct Buffer {
    for_html: bool,
    buffer: String,
}

Fields

for_html: boolbuffer: String

Implementations

impl Buffer[src]

pub(crate) fn empty_from(v: &Buffer) -> Buffer[src]

pub(crate) fn html() -> Buffer[src]

pub(crate) fn new() -> Buffer[src]

pub(crate) fn is_empty(&self) -> bool[src]

pub(crate) fn into_inner(self) -> String[src]

pub(crate) fn insert_str(&mut self, idx: usize, s: &str)[src]

pub(crate) fn push_str(&mut self, s: &str)[src]

pub(crate) fn write_str(&mut self, s: &str)[src]

pub(crate) fn write_fmt(&mut self, v: Arguments<'_>)[src]

pub(crate) fn to_display<T: Print>(self, t: T) -> String[src]

pub(crate) fn from_display<T: Display>(&mut self, t: T)[src]

pub(crate) fn is_for_html(&self) -> bool[src]

Trait Implementations

impl Clone for Buffer[src]

impl Debug for Buffer[src]

Auto Trait Implementations

impl RefUnwindSafe for Buffer

impl Send for Buffer

impl Sync for Buffer

impl Unpin for Buffer

impl UnwindSafe for Buffer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithConstness for T[src]