Struct rustdoc::html::format::VisSpace
[−]
[src]
pub struct VisSpace<'a>(pub &'a Option<Visibility>);
Unstable (
rustdoc
)Helper to render an optional visibility with a space after it (if the visibility is preset)
Methods
impl<'a> VisSpace<'a>
[src]
fn get(self) -> &'a Option<Visibility>
Trait Implementations
impl<'a> Display for VisSpace<'a>
[src]
Derived Implementations
impl<'a> Clone for VisSpace<'a>
[src]
fn clone(&self) -> VisSpace<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more