Struct webc::v1::OwnedFsEntryFile
source · pub struct OwnedFsEntryFile {
pub text: String,
pub offset_start: u64,
pub offset_end: u64,
}
Expand description
Owned version of the FsEntry
with fs_type = FsEntryType::File
Fields§
§text: String
Same as FsEntry::text
, but owned as a String
offset_start: u64
Starting offset in bytes into the volume.data
field
offset_end: u64
Ending offset in bytes into the volume.data
field
Implementations§
Trait Implementations§
source§impl Clone for OwnedFsEntryFile
impl Clone for OwnedFsEntryFile
source§fn clone(&self) -> OwnedFsEntryFile
fn clone(&self) -> OwnedFsEntryFile
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 OwnedFsEntryFile
impl Debug for OwnedFsEntryFile
source§impl PartialEq<OwnedFsEntryFile> for OwnedFsEntryFile
impl PartialEq<OwnedFsEntryFile> for OwnedFsEntryFile
source§fn eq(&self, other: &OwnedFsEntryFile) -> bool
fn eq(&self, other: &OwnedFsEntryFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OwnedFsEntryFile
impl StructuralEq for OwnedFsEntryFile
impl StructuralPartialEq for OwnedFsEntryFile
Auto Trait Implementations§
impl RefUnwindSafe for OwnedFsEntryFile
impl Send for OwnedFsEntryFile
impl Sync for OwnedFsEntryFile
impl Unpin for OwnedFsEntryFile
impl UnwindSafe for OwnedFsEntryFile
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.