pub struct ToolTargetItem(pub u32);
Expand description
Represents the “tool_target_item” attribute.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl AsRef<u32> for ToolTargetItem
impl AsRef<u32> for ToolTargetItem
Source§impl Attribute for ToolTargetItem
impl Attribute for ToolTargetItem
Source§const USES_FLOAT_VALUE: bool = true
const USES_FLOAT_VALUE: bool = true
Not part of the schema. Read more
Source§const ATTRIBUTE: AttributeDef
const ATTRIBUTE: AttributeDef
The attribute definition.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§impl Borrow<u32> for ToolTargetItem
impl Borrow<u32> for ToolTargetItem
Source§impl Clone for ToolTargetItem
impl Clone for ToolTargetItem
Source§fn clone(&self) -> ToolTargetItem
fn clone(&self) -> ToolTargetItem
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 ToolTargetItem
impl Debug for ToolTargetItem
Source§impl Default for ToolTargetItem
impl Default for ToolTargetItem
Source§fn default() -> ToolTargetItem
fn default() -> ToolTargetItem
Returns the “default value” for a type. Read more
Source§impl Deref for ToolTargetItem
impl Deref for ToolTargetItem
Source§impl From<&u32> for ToolTargetItem
impl From<&u32> for ToolTargetItem
Source§impl From<u32> for ToolTargetItem
impl From<u32> for ToolTargetItem
Source§impl Hash for ToolTargetItem
impl Hash for ToolTargetItem
Source§impl PartialEq for ToolTargetItem
impl PartialEq for ToolTargetItem
Source§impl TryFromIntAttributeValue for ToolTargetItem
impl TryFromIntAttributeValue for ToolTargetItem
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 ToolTargetItem
impl Eq for ToolTargetItem
impl StructuralPartialEq for ToolTargetItem
Auto Trait Implementations§
impl Freeze for ToolTargetItem
impl RefUnwindSafe for ToolTargetItem
impl Send for ToolTargetItem
impl Sync for ToolTargetItem
impl Unpin for ToolTargetItem
impl UnwindSafe for ToolTargetItem
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