Struct voicemeeter::types::ParameterNameRef
source · pub struct ParameterNameRef(/* private fields */);
Available on crate feature
interface
only.Expand description
Voicemeeter Parameter
Implementations§
source§impl ParameterNameRef
impl ParameterNameRef
sourcepub const fn from_str(raw: &str) -> &Self
pub const fn from_str(raw: &str) -> &Self
Transparently reinterprets the string slice as a strongly-typed ParameterNameRef
sourcepub const fn from_static(raw: &'static str) -> &'static Self
pub const fn from_static(raw: &'static str) -> &'static Self
Transparently reinterprets the static string slice as a strongly-typed ParameterNameRef
sourcepub fn into_owned(self: Box<ParameterNameRef>) -> ParameterName
pub fn into_owned(self: Box<ParameterNameRef>) -> ParameterName
Converts a Box<ParameterNameRef>
into a ParameterName
without copying or allocating
Trait Implementations§
source§impl AsRef<ParameterNameRef> for ParameterName
impl AsRef<ParameterNameRef> for ParameterName
source§fn as_ref(&self) -> &ParameterNameRef
fn as_ref(&self) -> &ParameterNameRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<str> for ParameterNameRef
impl AsRef<str> for ParameterNameRef
source§impl Borrow<ParameterNameRef> for ParameterName
impl Borrow<ParameterNameRef> for ParameterName
source§fn borrow(&self) -> &ParameterNameRef
fn borrow(&self) -> &ParameterNameRef
Immutably borrows from an owned value. Read more
source§impl Borrow<str> for ParameterNameRef
impl Borrow<str> for ParameterNameRef
source§impl Debug for ParameterNameRef
impl Debug for ParameterNameRef
source§impl Display for ParameterNameRef
impl Display for ParameterNameRef
source§impl<'a, 'b: 'a> From<&'a Cow<'b, ParameterNameRef>> for &'a ParameterNameRef
impl<'a, 'b: 'a> From<&'a Cow<'b, ParameterNameRef>> for &'a ParameterNameRef
source§fn from(r: &'a Cow<'b, ParameterNameRef>) -> &'a ParameterNameRef
fn from(r: &'a Cow<'b, ParameterNameRef>) -> &'a ParameterNameRef
Converts to this type from the input type.
source§impl From<&ParameterNameRef> for Arc<ParameterNameRef>
impl From<&ParameterNameRef> for Arc<ParameterNameRef>
source§fn from(r: &ParameterNameRef) -> Self
fn from(r: &ParameterNameRef) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ParameterNameRef> for Cow<'a, ParameterNameRef>
impl<'a> From<&'a ParameterNameRef> for Cow<'a, ParameterNameRef>
source§fn from(r: &'a ParameterNameRef) -> Self
fn from(r: &'a ParameterNameRef) -> Self
Converts to this type from the input type.
source§impl From<&ParameterNameRef> for ParameterName
impl From<&ParameterNameRef> for ParameterName
source§fn from(s: &ParameterNameRef) -> Self
fn from(s: &ParameterNameRef) -> Self
Converts to this type from the input type.
source§impl From<&ParameterNameRef> for Rc<ParameterNameRef>
impl From<&ParameterNameRef> for Rc<ParameterNameRef>
source§fn from(r: &ParameterNameRef) -> Self
fn from(r: &ParameterNameRef) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a str> for &'a ParameterNameRef
impl<'a> From<&'a str> for &'a ParameterNameRef
source§fn from(s: &'a str) -> &'a ParameterNameRef
fn from(s: &'a str) -> &'a ParameterNameRef
Converts to this type from the input type.
source§impl From<ParameterName> for Box<ParameterNameRef>
impl From<ParameterName> for Box<ParameterNameRef>
source§fn from(r: ParameterName) -> Self
fn from(r: ParameterName) -> Self
Converts to this type from the input type.
source§impl Hash for ParameterNameRef
impl Hash for ParameterNameRef
source§impl Ord for ParameterNameRef
impl Ord for ParameterNameRef
source§impl PartialEq<&ParameterNameRef> for ParameterName
impl PartialEq<&ParameterNameRef> for ParameterName
source§fn eq(&self, other: &&ParameterNameRef) -> bool
fn eq(&self, other: &&ParameterNameRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<ParameterName> for &ParameterNameRef
impl PartialEq<ParameterName> for &ParameterNameRef
source§fn eq(&self, other: &ParameterName) -> bool
fn eq(&self, other: &ParameterName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<ParameterName> for ParameterNameRef
impl PartialEq<ParameterName> for ParameterNameRef
source§fn eq(&self, other: &ParameterName) -> bool
fn eq(&self, other: &ParameterName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<ParameterNameRef> for ParameterName
impl PartialEq<ParameterNameRef> for ParameterName
source§fn eq(&self, other: &ParameterNameRef) -> bool
fn eq(&self, other: &ParameterNameRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for ParameterNameRef
impl PartialEq for ParameterNameRef
source§fn eq(&self, other: &ParameterNameRef) -> bool
fn eq(&self, other: &ParameterNameRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ParameterNameRef
impl PartialOrd for ParameterNameRef
source§fn partial_cmp(&self, other: &ParameterNameRef) -> Option<Ordering>
fn partial_cmp(&self, other: &ParameterNameRef) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToOwned for ParameterNameRef
impl ToOwned for ParameterNameRef
§type Owned = ParameterName
type Owned = ParameterName
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more