pub struct ToolId(pub u8);Expand description
Unique identifier for a tool type.
Tuple Fields§
§0: u8Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolId
impl<'de> Deserialize<'de> for ToolId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for ToolId
impl Ord for ToolId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ToolId
impl PartialOrd for ToolId
impl Copy for ToolId
impl Eq for ToolId
impl StructuralPartialEq for ToolId
Auto Trait Implementations§
impl Freeze for ToolId
impl RefUnwindSafe for ToolId
impl Send for ToolId
impl Sync for ToolId
impl Unpin for ToolId
impl UnsafeUnpin for ToolId
impl UnwindSafe for ToolId
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