Struct devicemapper::TargetTypeBuf [−][src]
pub struct TargetTypeBuf { /* fields omitted */ }
The owned version of the DM identifier.
Methods
impl TargetTypeBuf
[src]
impl TargetTypeBuf
pub fn new(value: String) -> DmResult<TargetTypeBuf>
[src]
pub fn new(value: String) -> DmResult<TargetTypeBuf>
Construct a new owned identifier.
Methods from Deref<Target = TargetType>
Trait Implementations
impl Debug for TargetTypeBuf
[src]
impl Debug for TargetTypeBuf
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 Clone for TargetTypeBuf
[src]
impl Clone for TargetTypeBuf
fn clone(&self) -> TargetTypeBuf
[src]
fn clone(&self) -> TargetTypeBuf
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 PartialEq for TargetTypeBuf
[src]
impl PartialEq for TargetTypeBuf
fn eq(&self, other: &TargetTypeBuf) -> bool
[src]
fn eq(&self, other: &TargetTypeBuf) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TargetTypeBuf) -> bool
[src]
fn ne(&self, other: &TargetTypeBuf) -> bool
This method tests for !=
.
impl Eq for TargetTypeBuf
[src]
impl Eq for TargetTypeBuf
impl Hash for TargetTypeBuf
[src]
impl Hash for TargetTypeBuf
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl AsRef<TargetType> for TargetTypeBuf
[src]
impl AsRef<TargetType> for TargetTypeBuf
fn as_ref(&self) -> &TargetType
[src]
fn as_ref(&self) -> &TargetType
Performs the conversion.
impl Borrow<TargetType> for TargetTypeBuf
[src]
impl Borrow<TargetType> for TargetTypeBuf
fn borrow(&self) -> &TargetType
[src]
fn borrow(&self) -> &TargetType
Immutably borrows from an owned value. Read more
impl Deref for TargetTypeBuf
[src]
impl Deref for TargetTypeBuf
type Target = TargetType
The resulting type after dereferencing.
fn deref(&self) -> &TargetType
[src]
fn deref(&self) -> &TargetType
Dereferences the value.
Auto Trait Implementations
impl Send for TargetTypeBuf
impl Send for TargetTypeBuf
impl Sync for TargetTypeBuf
impl Sync for TargetTypeBuf