Variants
File(PathBuf)
Resource(String)
Trait Implementations
sourceimpl Clone for DataSource
impl Clone for DataSource
sourcefn clone(&self) -> DataSource
fn clone(&self) -> DataSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataSource
impl Debug for DataSource
sourceimpl Display for DataSource
impl Display for DataSource
sourceimpl PartialEq<DataSource> for DataSource
impl PartialEq<DataSource> for DataSource
sourcefn eq(&self, other: &DataSource) -> bool
fn eq(&self, other: &DataSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataSource) -> bool
fn ne(&self, other: &DataSource) -> bool
This method tests for !=
.
impl StructuralPartialEq for DataSource
Auto Trait Implementations
impl RefUnwindSafe for DataSource
impl Send for DataSource
impl Sync for DataSource
impl Unpin for DataSource
impl UnwindSafe for DataSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more