Struct rustdoc::html::format::VisSpace [] [src]

pub struct VisSpace<'a>(pub &'a Option<Visibility>);
🔬 This is a nightly-only experimental API. (rustdoc)

Helper to render an optional visibility with a space after it (if the visibility is preset)

Methods

impl<'a> VisSpace<'a>
[src]

🔬 This is a nightly-only experimental API. (rustdoc)

Trait Implementations

impl<'a> Copy for VisSpace<'a>
[src]

impl<'a> Clone for VisSpace<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Display for VisSpace<'a>
[src]

Formats the value using the given formatter. Read more