pub struct TargetTypeBuf { /* private fields */ }Expand description
The owned version of the DM identifier.
Implementations§
Source§impl TargetTypeBuf
impl TargetTypeBuf
Sourcepub fn new(value: String) -> DmResult<TargetTypeBuf>
pub fn new(value: String) -> DmResult<TargetTypeBuf>
Construct a new owned identifier.
Methods from Deref<Target = TargetType>§
Trait Implementations§
Source§impl AsRef<TargetType> for TargetTypeBuf
impl AsRef<TargetType> for TargetTypeBuf
Source§fn as_ref(&self) -> &TargetType
fn as_ref(&self) -> &TargetType
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<TargetType> for TargetTypeBuf
impl Borrow<TargetType> for TargetTypeBuf
Source§fn borrow(&self) -> &TargetType
fn borrow(&self) -> &TargetType
Immutably borrows from an owned value. Read more
Source§impl Clone for TargetTypeBuf
impl Clone for TargetTypeBuf
Source§fn clone(&self) -> TargetTypeBuf
fn clone(&self) -> TargetTypeBuf
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetTypeBuf
impl Debug for TargetTypeBuf
Source§impl Deref for TargetTypeBuf
impl Deref for TargetTypeBuf
Source§type Target = TargetType
type Target = TargetType
The resulting type after dereferencing.
Source§fn deref(&self) -> &TargetType
fn deref(&self) -> &TargetType
Dereferences the value.
Source§impl Hash for TargetTypeBuf
impl Hash for TargetTypeBuf
Source§impl PartialEq for TargetTypeBuf
impl PartialEq for TargetTypeBuf
impl Eq for TargetTypeBuf
impl StructuralPartialEq for TargetTypeBuf
Auto Trait Implementations§
impl Freeze for TargetTypeBuf
impl RefUnwindSafe for TargetTypeBuf
impl Send for TargetTypeBuf
impl Sync for TargetTypeBuf
impl Unpin for TargetTypeBuf
impl UnwindSafe for TargetTypeBuf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more