Struct webc::v2::read::VolumeSection
source · pub struct VolumeSection { /* private fields */ }
Expand description
A volume section containing a directory tree.
Implementations§
source§impl VolumeSection
impl VolumeSection
pub fn name(&self) -> &str
pub fn lookup_file( &self, path: impl ToPathSegments ) -> Result<OwnedBuffer, LookupError>
pub fn root(&self) -> Result<Directory<'_>, VolumeHeaderError>
Trait Implementations§
source§impl Clone for VolumeSection
impl Clone for VolumeSection
source§fn clone(&self) -> VolumeSection
fn clone(&self) -> VolumeSection
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 VolumeSection
impl Debug for VolumeSection
source§impl From<VolumeSection> for Section
impl From<VolumeSection> for Section
source§fn from(value: VolumeSection) -> Self
fn from(value: VolumeSection) -> Self
Converts to this type from the input type.
source§impl PartialEq<VolumeSection> for VolumeSection
impl PartialEq<VolumeSection> for VolumeSection
source§fn eq(&self, other: &VolumeSection) -> bool
fn eq(&self, other: &VolumeSection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.