Struct devicemapper::LinearTargetParams [−][src]
Struct representing params for a linear target
Fields
device: Device
Device on which this segment resides.
start_offset: Sectors
Start offset in device on which this segment resides.
Methods
impl LinearTargetParams[src]
impl LinearTargetParamspub fn new(device: Device, start_offset: Sectors) -> LinearTargetParams[src]
pub fn new(device: Device, start_offset: Sectors) -> LinearTargetParamsCreate a new LinearTargetParams struct
Trait Implementations
impl Clone for LinearTargetParams[src]
impl Clone for LinearTargetParamsfn clone(&self) -> LinearTargetParams[src]
fn clone(&self) -> LinearTargetParamsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for LinearTargetParams[src]
impl Debug for LinearTargetParamsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for LinearTargetParams[src]
impl Eq for LinearTargetParamsimpl PartialEq for LinearTargetParams[src]
impl PartialEq for LinearTargetParamsfn eq(&self, other: &LinearTargetParams) -> bool[src]
fn eq(&self, other: &LinearTargetParams) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LinearTargetParams) -> bool[src]
fn ne(&self, other: &LinearTargetParams) -> boolThis method tests for !=.
impl Display for LinearTargetParams[src]
impl Display for LinearTargetParamsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl FromStr for LinearTargetParams[src]
impl FromStr for LinearTargetParamsAuto Trait Implementations
impl Send for LinearTargetParams
impl Send for LinearTargetParamsimpl Sync for LinearTargetParams
impl Sync for LinearTargetParams