Struct devicemapper::TargetTypeBuf [−][src]
pub struct TargetTypeBuf { /* fields omitted */ }The owned version of the DM identifier.
Methods
impl TargetTypeBuf[src]
impl TargetTypeBufpub 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 TargetTypeBuffn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for TargetTypeBuf[src]
impl Clone for TargetTypeBuffn clone(&self) -> TargetTypeBuf[src]
fn clone(&self) -> TargetTypeBufReturns 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 TargetTypeBuffn eq(&self, other: &TargetTypeBuf) -> bool[src]
fn eq(&self, other: &TargetTypeBuf) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for TargetTypeBuf[src]
impl Eq for TargetTypeBufimpl Hash for TargetTypeBuf[src]
impl Hash for TargetTypeBuffn 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 TargetTypeBuffn as_ref(&self) -> &TargetType[src]
fn as_ref(&self) -> &TargetTypePerforms the conversion.
impl Borrow<TargetType> for TargetTypeBuf[src]
impl Borrow<TargetType> for TargetTypeBuffn borrow(&self) -> &TargetType[src]
fn borrow(&self) -> &TargetTypeImmutably borrows from an owned value. Read more
impl Deref for TargetTypeBuf[src]
impl Deref for TargetTypeBuftype Target = TargetType
The resulting type after dereferencing.
fn deref(&self) -> &TargetType[src]
fn deref(&self) -> &TargetTypeDereferences the value.
Auto Trait Implementations
impl Send for TargetTypeBuf
impl Send for TargetTypeBufimpl Sync for TargetTypeBuf
impl Sync for TargetTypeBuf