Enum webc::OwnedFsEntry
source · [−]pub enum OwnedFsEntry {
File(OwnedFsEntryFile),
Dir(OwnedFsEntryDir),
}
Expand description
Same as FsEntry
but with an owned text: String
,
instead of a &str
Variants
File(OwnedFsEntryFile)
File entry
Dir(OwnedFsEntryDir)
Directory entry
Implementations
sourceimpl OwnedFsEntry
impl OwnedFsEntry
Trait Implementations
sourceimpl Clone for OwnedFsEntry
impl Clone for OwnedFsEntry
sourcefn clone(&self) -> OwnedFsEntry
fn clone(&self) -> OwnedFsEntry
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 moresourceimpl Debug for OwnedFsEntry
impl Debug for OwnedFsEntry
sourceimpl PartialEq<OwnedFsEntry> for OwnedFsEntry
impl PartialEq<OwnedFsEntry> for OwnedFsEntry
sourcefn eq(&self, other: &OwnedFsEntry) -> bool
fn eq(&self, other: &OwnedFsEntry) -> bool
impl StructuralPartialEq for OwnedFsEntry
Auto Trait Implementations
impl RefUnwindSafe for OwnedFsEntry
impl Send for OwnedFsEntry
impl Sync for OwnedFsEntry
impl Unpin for OwnedFsEntry
impl UnwindSafe for OwnedFsEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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