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 LinearTargetParams
pub fn new(device: Device, start_offset: Sectors) -> LinearTargetParams
[src]
pub fn new(device: Device, start_offset: Sectors) -> LinearTargetParams
Create a new LinearTargetParams struct
Trait Implementations
impl Clone for LinearTargetParams
[src]
impl Clone for LinearTargetParams
fn clone(&self) -> LinearTargetParams
[src]
fn clone(&self) -> LinearTargetParams
Returns 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 LinearTargetParams
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for LinearTargetParams
[src]
impl Eq for LinearTargetParams
impl PartialEq for LinearTargetParams
[src]
impl PartialEq for LinearTargetParams
fn eq(&self, other: &LinearTargetParams) -> bool
[src]
fn eq(&self, other: &LinearTargetParams) -> bool
This 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) -> bool
This method tests for !=
.
impl Display for LinearTargetParams
[src]
impl Display for LinearTargetParams
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromStr for LinearTargetParams
[src]
impl FromStr for LinearTargetParams
Auto Trait Implementations
impl Send for LinearTargetParams
impl Send for LinearTargetParams
impl Sync for LinearTargetParams
impl Sync for LinearTargetParams