Struct devicemapper::TargetTypeBuf
[−]
[src]
pub struct TargetTypeBuf { /* fields omitted */ }
The owned version of the DM identifier.
Methods
impl TargetTypeBuf
[src]
fn new(value: String) -> DmResult<TargetTypeBuf>
[src]
Construct a new owned identifier.
Methods from Deref<Target = TargetType>
Trait Implementations
impl Debug for TargetTypeBuf
[src]
impl Clone for TargetTypeBuf
[src]
fn clone(&self) -> TargetTypeBuf
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for TargetTypeBuf
[src]
fn eq(&self, __arg_0: &TargetTypeBuf) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TargetTypeBuf) -> bool
[src]
This method tests for !=
.
impl Eq for TargetTypeBuf
[src]
impl Hash for TargetTypeBuf
[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 AsRef<TargetType> for TargetTypeBuf
[src]
fn as_ref(&self) -> &TargetType
[src]
Performs the conversion.
impl Borrow<TargetType> for TargetTypeBuf
[src]
fn borrow(&self) -> &TargetType
[src]
Immutably borrows from an owned value. Read more
impl Deref for TargetTypeBuf
[src]
type Target = TargetType
The resulting type after dereferencing.
fn deref(&self) -> &TargetType
[src]
Dereferences the value.