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