pub struct FileSource { /* private fields */ }Expand description
Implementations§
Source§impl FileSource
impl FileSource
Trait Implementations§
Source§impl Debug for FileSource
impl Debug for FileSource
Source§impl Source for FileSource
impl Source for FileSource
Source§fn kind(&self) -> SourceKind
fn kind(&self) -> SourceKind
Get the kind of this source.
Source§fn metadata(&self) -> SourceMetadata
fn metadata(&self) -> SourceMetadata
Get metadata about this source.
Source§fn is_required(&self) -> bool
fn is_required(&self) -> bool
Check if this source is required. Read more
Source§fn is_optional(&self) -> bool
fn is_optional(&self) -> bool
Check if this source is optional. Read more
Source§fn display_name(&self) -> String
fn display_name(&self) -> String
Get the display name for this source.
Auto Trait Implementations§
impl Freeze for FileSource
impl RefUnwindSafe for FileSource
impl Send for FileSource
impl Sync for FileSource
impl Unpin for FileSource
impl UnsafeUnpin for FileSource
impl UnwindSafe for FileSource
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