[−][src]Struct devicemapper::TargetType
The borrowed version of the DM identifier.
Methods
impl TargetType
[src]
pub fn new(value: &str) -> DmResult<&TargetType>
[src]
Create a new borrowed identifier from a &str
.
pub fn as_bytes(&self) -> &[u8]
[src]
Get the inner value as bytes
Trait Implementations
impl ToOwned for TargetType
[src]
type Owned = TargetTypeBuf
The resulting type after obtaining ownership.
fn to_owned(&self) -> TargetTypeBuf
[src]
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
impl Eq for TargetType
[src]
impl PartialEq<TargetType> for TargetType
[src]
fn eq(&self, other: &TargetType) -> bool
[src]
fn ne(&self, other: &TargetType) -> bool
[src]
impl AsRef<TargetType> for TargetTypeBuf
[src]
fn as_ref(&self) -> &TargetType
[src]
impl Debug for TargetType
[src]
impl Display for TargetType
[src]
impl Hash for TargetType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
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 Borrow<TargetType> for TargetTypeBuf
[src]
fn borrow(&self) -> &TargetType
[src]
Auto Trait Implementations
impl Send for TargetType
impl Sync for TargetType
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,