pub struct SourceInformation<'a> { /* private fields */ }Expand description
Represents mutable source information in an MDF file.
Implementations§
Source§impl<'a> SourceInformation<'a>
impl<'a> SourceInformation<'a>
Sourcepub fn set_description(&mut self, description: &str) -> Result<()>
pub fn set_description(&mut self, description: &str) -> Result<()>
Sets the description of the source information.
Sourcepub fn create_metadata(&mut self) -> Option<MetaData<'a>>
pub fn create_metadata(&mut self) -> Option<MetaData<'a>>
Creates metadata for the source information.
Methods from Deref<Target = SourceInformationRef<'a>>§
Sourcepub fn get_description(&self) -> String
pub fn get_description(&self) -> String
Gets the description of the source information.
Sourcepub fn get_metadata(&self) -> Option<MetaDataRef<'a>>
pub fn get_metadata(&self) -> Option<MetaDataRef<'a>>
Gets the metadata of the source information.
Trait Implementations§
Source§impl<'a> Debug for SourceInformation<'a>
impl<'a> Debug for SourceInformation<'a>
Auto Trait Implementations§
impl<'a> Freeze for SourceInformation<'a>
impl<'a> RefUnwindSafe for SourceInformation<'a>
impl<'a> !Send for SourceInformation<'a>
impl<'a> !Sync for SourceInformation<'a>
impl<'a> Unpin for SourceInformation<'a>
impl<'a> UnsafeUnpin for SourceInformation<'a>
impl<'a> UnwindSafe for SourceInformation<'a>
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