Struct yy_typings::texture_group::TextureGroup
source · [−]pub struct TextureGroup {
pub config_values: Option<BTreeMap<String, Value>>,
pub is_scaled: bool,
pub compress_format: String,
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
compress_format: String
autocrop: bool
border: usize
mips_to_generate: GenerateMipMaps
group_parent: Option<TexturePath>
targets: isize
resource_version: ResourceVersion
name: String
resource_type: ConstGmTextureGroup
Trait Implementations
sourceimpl Clone for TextureGroup
impl Clone for TextureGroup
sourcefn clone(&self) -> TextureGroup
fn clone(&self) -> TextureGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TextureGroup
impl Debug for TextureGroup
sourceimpl Default for TextureGroup
impl Default for TextureGroup
sourcefn default() -> Self
fn default() -> Self
Return TextureGroup { config_values: Default::default(), is_scaled: true, compress_format: Default::default(), 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() }
sourceimpl<'de> Deserialize<'de> for TextureGroup
impl<'de> Deserialize<'de> for TextureGroup
sourcefn 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
sourceimpl From<&'_ TextureGroup> for TexturePath
impl From<&'_ TextureGroup> for TexturePath
sourcefn from(o: &TextureGroup) -> TexturePath
fn from(o: &TextureGroup) -> TexturePath
Converts to this type from the input type.
sourceimpl From<TextureGroup> for TexturePath
impl From<TextureGroup> for TexturePath
sourcefn from(o: TextureGroup) -> Self
fn from(o: TextureGroup) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TextureGroup> for TextureGroup
impl PartialEq<TextureGroup> for TextureGroup
sourcefn eq(&self, other: &TextureGroup) -> bool
fn eq(&self, other: &TextureGroup) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TextureGroup) -> bool
fn ne(&self, other: &TextureGroup) -> bool
This method tests for !=
.
sourceimpl Serialize for TextureGroup
impl Serialize for TextureGroup
impl StructuralPartialEq for TextureGroup
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more