pub struct TimerToolSelection {
pub timer: bool,
}Fields§
§timer: boolImplementations§
Source§impl TimerToolSelection
impl TimerToolSelection
pub fn is_enabled(self, tool: TimerToolId) -> bool
pub fn set(&mut self, tool: TimerToolId, enabled: bool) -> bool
pub fn function_declarations(self) -> Vec<FunctionDeclaration>
pub fn build_live_tool(self) -> Option<Tool>
Trait Implementations§
Source§impl Clone for TimerToolSelection
impl Clone for TimerToolSelection
Source§fn clone(&self) -> TimerToolSelection
fn clone(&self) -> TimerToolSelection
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 TimerToolSelection
impl Debug for TimerToolSelection
Source§impl Default for TimerToolSelection
impl Default for TimerToolSelection
Source§impl<'de> Deserialize<'de> for TimerToolSelectionwhere
TimerToolSelection: Default,
impl<'de> Deserialize<'de> for TimerToolSelectionwhere
TimerToolSelection: Default,
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 PartialEq for TimerToolSelection
impl PartialEq for TimerToolSelection
Source§impl Serialize for TimerToolSelection
impl Serialize for TimerToolSelection
impl Copy for TimerToolSelection
impl Eq for TimerToolSelection
impl StructuralPartialEq for TimerToolSelection
Auto Trait Implementations§
impl Freeze for TimerToolSelection
impl RefUnwindSafe for TimerToolSelection
impl Send for TimerToolSelection
impl Sync for TimerToolSelection
impl Unpin for TimerToolSelection
impl UnsafeUnpin for TimerToolSelection
impl UnwindSafe for TimerToolSelection
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