Struct devicemapper::TargetType
[−]
[src]
pub struct TargetType { /* fields omitted */ }The borrowed version of the DM identifier.
Methods
impl TargetType[src]
fn new(value: &str) -> DmResult<&TargetType>[src]
Create a new borrowed identifier from a &str.
fn as_bytes(&self) -> &[u8][src]
Get the inner value as bytes
Trait Implementations
impl Debug for TargetType[src]
impl PartialEq for TargetType[src]
fn eq(&self, __arg_0: &TargetType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TargetType) -> bool[src]
This method tests for !=.
impl Eq for TargetType[src]
impl Hash for TargetType[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl ToOwned for TargetType[src]
type Owned = TargetTypeBuf
fn to_owned(&self) -> TargetTypeBuf[src]
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more