Struct rustdoc::clean::Span [−][src]
pub struct Span { pub filename: FileName, pub loline: usize, pub locol: usize, pub hiline: usize, pub hicol: usize, }
Fields
filename: FileName
loline: usize
locol: usize
hiline: usize
hicol: usize
Methods
impl Span
[src]
impl Span
Trait Implementations
impl Clone for Span
[src]
impl Clone for Span
fn clone(&self) -> Span
[src]
fn clone(&self) -> Span
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for Span
[src]
impl Encodable for Span
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for Span
[src]
impl Decodable for Span
fn decode<__D: Decoder>(d: &mut __D) -> Result<Span, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Span, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Debug for Span
[src]
impl Debug for Span
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clean<Span> for Span
[src]
impl Clean<Span> for Span
fn clean(&self, cx: &DocContext) -> Span
[src]
fn clean(&self, cx: &DocContext) -> Span