Struct yy_typings::AudioGroupId [−][src]
pub struct AudioGroupId {
pub name: String,
pub path: AudioGroupPath,
}
Expand description
A unqiue Id for audiogroups. Although it appears as if it could support
hierarchies and nesting, audio ids never actually show that in
practice, so this form is likely an artifact of the Yyg internal project
structures.. The first member of this hierarchy is always
audiogroups
.
Fields
name: String
The human readable name of the parent. For a audiogroup Default
,
this name would read Default
.
path: AudioGroupPath
The path to the audio group, where:
assert_eq!(self.path.0, format!("audiogroups/{}", self.name))
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AudioGroupId
impl Send for AudioGroupId
impl Sync for AudioGroupId
impl Unpin for AudioGroupId
impl UnwindSafe for AudioGroupId
Blanket Implementations
Mutably borrows from an owned value. Read more