Struct devicemapper::LinearTargetParams[][src]

pub struct LinearTargetParams {
    pub device: Device,
    pub start_offset: Sectors,
}

Struct representing params for a linear target

Fields

Device on which this segment resides.

Start offset in device on which this segment resides.

Methods

impl LinearTargetParams
[src]

Create a new LinearTargetParams struct

Trait Implementations

impl Clone for LinearTargetParams
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LinearTargetParams
[src]

Formats the value using the given formatter. Read more

impl Eq for LinearTargetParams
[src]

impl PartialEq for LinearTargetParams
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for LinearTargetParams
[src]

Formats the value using the given formatter. Read more

impl FromStr for LinearTargetParams
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations