Struct yy_typings::texture_group::TextureGroup [−][src]
pub struct TextureGroup {
pub config_values: Option<BTreeMap<String, Value>>,
pub is_scaled: bool,
pub autocrop: bool,
pub border: usize,
pub mips_to_generate: GenerateMipMaps,
pub group_parent: Option<TexturePath>,
pub targets: isize,
pub resource_version: ResourceVersion,
pub name: String,
pub resource_type: ConstGmTextureGroup,
}
Fields
config_values: Option<BTreeMap<String, Value>>
is_scaled: bool
autocrop: bool
border: usize
mips_to_generate: GenerateMipMaps
group_parent: Option<TexturePath>
targets: isize
resource_version: ResourceVersion
name: String
resource_type: ConstGmTextureGroup
Trait Implementations
Return TextureGroup { config_values: Default::default(), is_scaled: true, autocrop: true, border: 2, mips_to_generate: Default::default(), group_parent: Default::default(), targets: - 1, resource_version: ResourceVersion :: new(1, 3), name: "Default".to_string(), resource_type: Default::default() }
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.
Performs the conversion.
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 TextureGroup
impl Send for TextureGroup
impl Sync for TextureGroup
impl Unpin for TextureGroup
impl UnwindSafe for TextureGroup
Blanket Implementations
Mutably borrows from an owned value. Read more