Struct devicemapper::ThinDevTargetTable
source · pub struct ThinDevTargetTable {
pub table: TargetLine<ThinTargetParams>,
}
Expand description
A target table for a thin device.
Fields§
§table: TargetLine<ThinTargetParams>
The device’s table
Implementations§
source§impl ThinDevTargetTable
impl ThinDevTargetTable
sourcepub fn new(
start: Sectors,
length: Sectors,
params: ThinTargetParams
) -> ThinDevTargetTable
pub fn new( start: Sectors, length: Sectors, params: ThinTargetParams ) -> ThinDevTargetTable
Make a new ThinDevTargetTable from required input
Trait Implementations§
source§impl Clone for ThinDevTargetTable
impl Clone for ThinDevTargetTable
source§fn clone(&self) -> ThinDevTargetTable
fn clone(&self) -> ThinDevTargetTable
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 ThinDevTargetTable
impl Debug for ThinDevTargetTable
source§impl Display for ThinDevTargetTable
impl Display for ThinDevTargetTable
source§impl DmDevice<ThinDevTargetTable> for ThinDev
impl DmDevice<ThinDevTargetTable> for ThinDev
source§fn equivalent_tables(
left: &ThinDevTargetTable,
right: &ThinDevTargetTable
) -> DmResult<bool>
fn equivalent_tables( left: &ThinDevTargetTable, right: &ThinDevTargetTable ) -> DmResult<bool>
Check if tables indicate an equivalent device.
source§fn table(&self) -> &ThinDevTargetTable
fn table(&self) -> &ThinDevTargetTable
What the device thinks its table is.
source§impl PartialEq for ThinDevTargetTable
impl PartialEq for ThinDevTargetTable
source§fn eq(&self, other: &ThinDevTargetTable) -> bool
fn eq(&self, other: &ThinDevTargetTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TargetTable for ThinDevTargetTable
impl TargetTable for ThinDevTargetTable
impl Eq for ThinDevTargetTable
impl StructuralPartialEq for ThinDevTargetTable
Auto Trait Implementations§
impl Freeze for ThinDevTargetTable
impl RefUnwindSafe for ThinDevTargetTable
impl Send for ThinDevTargetTable
impl Sync for ThinDevTargetTable
impl Unpin for ThinDevTargetTable
impl UnwindSafe for ThinDevTargetTable
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