Struct yy_typings::AudioGroupPath [−][src]
pub struct AudioGroupPath(pub String);
Expand description
The path
component will never end with .yy, even if it describes
a virtual folder or file. This is to say, given the texture groups
Default
, Crops
, and Enemies
, we would expect to see the following
TexturePath
vec, in Json:
[
{ "name": "Default", path: "audiogroups/Default" },
{ "name": "Crops", path: "audiogroups/Crops" },
{ "name": "Enemies", path: "audiogroups/Enemies" }
]
There are two important things to note about TextureGroup
:
- It does not end in
.yy
. - It uses
/
as a separator. - It always starts with
texturegroups
.
Tuple Fields
0: String
Implementations
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AudioGroupPath
impl Send for AudioGroupPath
impl Sync for AudioGroupPath
impl Unpin for AudioGroupPath
impl UnwindSafe for AudioGroupPath
Blanket Implementations
Mutably borrows from an owned value. Read more