#[repr(C)]pub struct ToolState {
pub tool_id: u32,
pub flags: u32,
pub last_invoked: u64,
pub data: [u8; 24],
}Expand description
Tool state structure
Fields§
§tool_id: u32Tool ID
flags: u32State flags
last_invoked: u64Last invocation timestamp
data: [u8; 24]State data (24 bytes)
Implementations§
Trait Implementations§
impl Copy for ToolState
impl Eq for ToolState
impl StructuralPartialEq for ToolState
Auto Trait Implementations§
impl Freeze for ToolState
impl RefUnwindSafe for ToolState
impl Send for ToolState
impl Sync for ToolState
impl Unpin for ToolState
impl UnsafeUnpin for ToolState
impl UnwindSafe for ToolState
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