pub struct BitmapWrite {
pub bitmap_block: u64,
pub bit_start: u32,
pub count: u32,
pub set: bool,
}Expand description
A change to one bitmap block: flip bits bit_start .. bit_start + count
from 0 (free) to 1 (used). The new bitmap bytes are NOT materialised here —
only the semantic description is.
Fields§
§bitmap_block: u64Physical block number of the bitmap (from bg_block_bitmap or
bg_inode_bitmap).
bit_start: u32First bit index within this bitmap to flip.
count: u32Number of consecutive bits to flip.
set: booltrue if marking used, false if freeing.
Trait Implementations§
Source§impl Clone for BitmapWrite
impl Clone for BitmapWrite
Source§fn clone(&self) -> BitmapWrite
fn clone(&self) -> BitmapWrite
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 moreSource§impl Debug for BitmapWrite
impl Debug for BitmapWrite
impl Eq for BitmapWrite
Source§impl PartialEq for BitmapWrite
impl PartialEq for BitmapWrite
impl StructuralPartialEq for BitmapWrite
Auto Trait Implementations§
impl Freeze for BitmapWrite
impl RefUnwindSafe for BitmapWrite
impl Send for BitmapWrite
impl Sync for BitmapWrite
impl Unpin for BitmapWrite
impl UnsafeUnpin for BitmapWrite
impl UnwindSafe for BitmapWrite
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