pub struct FsSignature {
pub name: &'static str,
pub offset: usize,
pub magic: &'static [u8],
}Expand description
One filesystem magic signature.
Fields§
§name: &'static strFilesystem name.
offset: usizeAbsolute byte offset of the magic within the volume.
magic: &'static [u8]The magic bytes expected at offset.
Trait Implementations§
Source§impl Clone for FsSignature
impl Clone for FsSignature
Source§fn clone(&self) -> FsSignature
fn clone(&self) -> FsSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FsSignature
Source§impl Debug for FsSignature
impl Debug for FsSignature
impl Eq for FsSignature
Source§impl PartialEq for FsSignature
impl PartialEq for FsSignature
impl StructuralPartialEq for FsSignature
Auto Trait Implementations§
impl Freeze for FsSignature
impl RefUnwindSafe for FsSignature
impl Send for FsSignature
impl Sync for FsSignature
impl Unpin for FsSignature
impl UnsafeUnpin for FsSignature
impl UnwindSafe for FsSignature
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more