pub struct ParameterNameRef(/* private fields */);
Available on crate feature interface only.
Expand description

Voicemeeter Parameter

Implementations§

source§

impl ParameterNameRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed ParameterNameRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed ParameterNameRef

source

pub fn into_owned(self: Box<ParameterNameRef>) -> ParameterName

Converts a Box<ParameterNameRef> into a ParameterName without copying or allocating

source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

Trait Implementations§

source§

impl AsRef<ParameterNameRef> for ParameterName

source§

fn as_ref(&self) -> &ParameterNameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ParameterNameRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ParameterNameRef> for ParameterName

source§

fn borrow(&self) -> &ParameterNameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ParameterNameRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for ParameterNameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParameterNameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, ParameterNameRef>> for &'a ParameterNameRef

source§

fn from(r: &'a Cow<'b, ParameterNameRef>) -> &'a ParameterNameRef

Converts to this type from the input type.
source§

impl From<&ParameterNameRef> for Arc<ParameterNameRef>

source§

fn from(r: &ParameterNameRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ParameterNameRef> for Cow<'a, ParameterNameRef>

source§

fn from(r: &'a ParameterNameRef) -> Self

Converts to this type from the input type.
source§

impl From<&ParameterNameRef> for ParameterName

source§

fn from(s: &ParameterNameRef) -> Self

Converts to this type from the input type.
source§

impl From<&ParameterNameRef> for Rc<ParameterNameRef>

source§

fn from(r: &ParameterNameRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a ParameterNameRef

source§

fn from(s: &'a str) -> &'a ParameterNameRef

Converts to this type from the input type.
source§

impl From<ParameterName> for Box<ParameterNameRef>

source§

fn from(r: ParameterName) -> Self

Converts to this type from the input type.
source§

impl Hash for ParameterNameRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl Ord for ParameterNameRef

source§

fn cmp(&self, other: &ParameterNameRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&ParameterNameRef> for ParameterName

source§

fn eq(&self, other: &&ParameterNameRef) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ParameterName> for &ParameterNameRef

source§

fn eq(&self, other: &ParameterName) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ParameterName> for ParameterNameRef

source§

fn eq(&self, other: &ParameterName) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ParameterNameRef> for ParameterName

source§

fn eq(&self, other: &ParameterNameRef) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for ParameterNameRef

source§

fn eq(&self, other: &ParameterNameRef) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for ParameterNameRef

source§

fn partial_cmp(&self, other: &ParameterNameRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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 more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl ToOwned for ParameterNameRef

§

type Owned = ParameterName

The resulting type after obtaining ownership.
source§

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)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl Eq for ParameterNameRef

source§

impl StructuralPartialEq for ParameterNameRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more