pub struct CustomTextureLo(pub u32);
Expand description
Represents the “custom_texture_lo” attribute.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl AsRef<u32> for CustomTextureLo
impl AsRef<u32> for CustomTextureLo
Source§impl Attribute for CustomTextureLo
impl Attribute for CustomTextureLo
Source§const USES_FLOAT_VALUE: bool = false
const USES_FLOAT_VALUE: bool = false
Not part of the schema. Read more
Source§const ATTRIBUTE: AttributeDef
const ATTRIBUTE: AttributeDef
The attribute definition.
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§impl Borrow<u32> for CustomTextureLo
impl Borrow<u32> for CustomTextureLo
Source§impl Clone for CustomTextureLo
impl Clone for CustomTextureLo
Source§fn clone(&self) -> CustomTextureLo
fn clone(&self) -> CustomTextureLo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CustomTextureLo
impl Debug for CustomTextureLo
Source§impl Default for CustomTextureLo
impl Default for CustomTextureLo
Source§fn default() -> CustomTextureLo
fn default() -> CustomTextureLo
Returns the “default value” for a type. Read more
Source§impl Deref for CustomTextureLo
impl Deref for CustomTextureLo
Source§impl From<&u32> for CustomTextureLo
impl From<&u32> for CustomTextureLo
Source§impl From<CustomTextureLo> for ItemAttribute
impl From<CustomTextureLo> for ItemAttribute
Source§fn from(val: CustomTextureLo) -> Self
fn from(val: CustomTextureLo) -> Self
Converts to this type from the input type.
Source§impl From<u32> for CustomTextureLo
impl From<u32> for CustomTextureLo
Source§impl Hash for CustomTextureLo
impl Hash for CustomTextureLo
Source§impl PartialEq for CustomTextureLo
impl PartialEq for CustomTextureLo
Source§impl TryFromIntAttributeValue for CustomTextureLo
impl TryFromIntAttributeValue for CustomTextureLo
Source§fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
Attempts conversion from an attribute value.
Source§fn try_from_attribute_float_value(v: f32) -> Option<Self>
fn try_from_attribute_float_value(v: f32) -> Option<Self>
Attempts conversion from an attribute float value.
impl Copy for CustomTextureLo
impl Eq for CustomTextureLo
impl StructuralPartialEq for CustomTextureLo
Auto Trait Implementations§
impl Freeze for CustomTextureLo
impl RefUnwindSafe for CustomTextureLo
impl Send for CustomTextureLo
impl Sync for CustomTextureLo
impl Unpin for CustomTextureLo
impl UnwindSafe for CustomTextureLo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more