pub enum ShotDetectionMode {
Full,
Putting,
Chipping,
}Variants§
Trait Implementations§
Source§impl Clone for ShotDetectionMode
impl Clone for ShotDetectionMode
Source§fn clone(&self) -> ShotDetectionMode
fn clone(&self) -> ShotDetectionMode
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 ShotDetectionMode
impl Debug for ShotDetectionMode
Source§impl<'de> Deserialize<'de> for ShotDetectionMode
impl<'de> Deserialize<'de> for ShotDetectionMode
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 Display for ShotDetectionMode
impl Display for ShotDetectionMode
Source§impl From<DetectionMode> for ShotDetectionMode
impl From<DetectionMode> for ShotDetectionMode
Source§fn from(m: DetectionMode) -> Self
fn from(m: DetectionMode) -> Self
Converts to this type from the input type.
Source§impl From<ShotDetectionMode> for DetectionMode
impl From<ShotDetectionMode> for DetectionMode
Source§fn from(m: ShotDetectionMode) -> Self
fn from(m: ShotDetectionMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ShotDetectionMode
impl PartialEq for ShotDetectionMode
Source§impl Serialize for ShotDetectionMode
impl Serialize for ShotDetectionMode
impl Copy for ShotDetectionMode
impl Eq for ShotDetectionMode
impl StructuralPartialEq for ShotDetectionMode
Auto Trait Implementations§
impl Freeze for ShotDetectionMode
impl RefUnwindSafe for ShotDetectionMode
impl Send for ShotDetectionMode
impl Sync for ShotDetectionMode
impl Unpin for ShotDetectionMode
impl UnsafeUnpin for ShotDetectionMode
impl UnwindSafe for ShotDetectionMode
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