Enum webc::v1::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§
Implementations§
Trait Implementations§
source§impl Clone for OwnedFsEntry
impl Clone for OwnedFsEntry
source§fn clone(&self) -> OwnedFsEntry
fn clone(&self) -> OwnedFsEntry
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 Debug for OwnedFsEntry
impl Debug for OwnedFsEntry
source§impl PartialEq<OwnedFsEntry> for OwnedFsEntry
impl PartialEq<OwnedFsEntry> for OwnedFsEntry
source§fn eq(&self, other: &OwnedFsEntry) -> bool
fn eq(&self, other: &OwnedFsEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.