Struct devicemapper::TargetLine [] [src]

pub struct TargetLine<T: TargetParams> {
    pub start: Sectors,
    pub length: Sectors,
    pub params: T,
}

One line of a device mapper table.

Fields

The start of the segment

The length of the segment

The target specific parameters

Methods

impl<T: TargetParams> TargetLine<T>
[src]

[src]

Make a new TargetLine struct

Trait Implementations

impl<T: Clone + TargetParams> Clone for TargetLine<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug + TargetParams> Debug for TargetLine<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Eq + TargetParams> Eq for TargetLine<T>
[src]

impl<T: PartialEq + TargetParams> PartialEq for TargetLine<T>
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl<T> Send for TargetLine<T> where
    T: Send

impl<T> Sync for TargetLine<T> where
    T: Sync