pub struct CustomTextureHi(pub u32);
Expand description
Represents the “custom_texture_hi” attribute.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl AsRef<u32> for CustomTextureHi
impl AsRef<u32> for CustomTextureHi
Source§impl Attribute for CustomTextureHi
impl Attribute for CustomTextureHi
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 CustomTextureHi
impl Borrow<u32> for CustomTextureHi
Source§impl Clone for CustomTextureHi
impl Clone for CustomTextureHi
Source§fn clone(&self) -> CustomTextureHi
fn clone(&self) -> CustomTextureHi
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 CustomTextureHi
impl Debug for CustomTextureHi
Source§impl Default for CustomTextureHi
impl Default for CustomTextureHi
Source§fn default() -> CustomTextureHi
fn default() -> CustomTextureHi
Returns the “default value” for a type. Read more
Source§impl Deref for CustomTextureHi
impl Deref for CustomTextureHi
Source§impl From<&u32> for CustomTextureHi
impl From<&u32> for CustomTextureHi
Source§impl From<CustomTextureHi> for ItemAttribute
impl From<CustomTextureHi> for ItemAttribute
Source§fn from(val: CustomTextureHi) -> Self
fn from(val: CustomTextureHi) -> Self
Converts to this type from the input type.
Source§impl From<u32> for CustomTextureHi
impl From<u32> for CustomTextureHi
Source§impl Hash for CustomTextureHi
impl Hash for CustomTextureHi
Source§impl PartialEq for CustomTextureHi
impl PartialEq for CustomTextureHi
Source§impl TryFromIntAttributeValue for CustomTextureHi
impl TryFromIntAttributeValue for CustomTextureHi
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 CustomTextureHi
impl Eq for CustomTextureHi
impl StructuralPartialEq for CustomTextureHi
Auto Trait Implementations§
impl Freeze for CustomTextureHi
impl RefUnwindSafe for CustomTextureHi
impl Send for CustomTextureHi
impl Sync for CustomTextureHi
impl Unpin for CustomTextureHi
impl UnwindSafe for CustomTextureHi
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