Struct noak::reader::attributes::SourceFile
source · pub struct SourceFile<'input> { /* private fields */ }
Implementations§
source§impl<'input> SourceFile<'input>
impl<'input> SourceFile<'input>
pub fn source_file(&self) -> Index<Utf8<'input>>
Trait Implementations§
source§impl<'input> Clone for SourceFile<'input>
impl<'input> Clone for SourceFile<'input>
source§fn clone(&self) -> SourceFile<'input>
fn clone(&self) -> SourceFile<'input>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'input> Debug for SourceFile<'input>
impl<'input> Debug for SourceFile<'input>
source§impl<'input> FromAttribute<'input> for SourceFile<'input>
impl<'input> FromAttribute<'input> for SourceFile<'input>
source§impl<'input> TryFrom<AttributeContent<'input>> for SourceFile<'input>
impl<'input> TryFrom<AttributeContent<'input>> for SourceFile<'input>
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'input> Freeze for SourceFile<'input>
impl<'input> RefUnwindSafe for SourceFile<'input>
impl<'input> Send for SourceFile<'input>
impl<'input> Sync for SourceFile<'input>
impl<'input> Unpin for SourceFile<'input>
impl<'input> UnwindSafe for SourceFile<'input>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more