pub struct ConditionalCategory {
pub category: ToolCategory,
pub note: &'static str,
}Expand description
A category that a provider only supports under specific conditions.
Fields§
§category: ToolCategory§note: &'static strShort note rendered next to the matrix cell.
Trait Implementations§
Source§impl Clone for ConditionalCategory
impl Clone for ConditionalCategory
Source§fn clone(&self) -> ConditionalCategory
fn clone(&self) -> ConditionalCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConditionalCategory
impl Debug for ConditionalCategory
impl Copy for ConditionalCategory
Auto Trait Implementations§
impl Freeze for ConditionalCategory
impl RefUnwindSafe for ConditionalCategory
impl Send for ConditionalCategory
impl Sync for ConditionalCategory
impl Unpin for ConditionalCategory
impl UnsafeUnpin for ConditionalCategory
impl UnwindSafe for ConditionalCategory
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