pub enum PounceOptionValue {
Num(f64),
Int(i32),
Str(String),
Bool(bool),
}Expand description
A raw POUNCE option value for PounceOptions::extra.
Variants§
Trait Implementations§
Source§impl Clone for PounceOptionValue
impl Clone for PounceOptionValue
Source§fn clone(&self) -> PounceOptionValue
fn clone(&self) -> PounceOptionValue
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 PounceOptionValue
impl Debug for PounceOptionValue
Source§impl From<&str> for PounceOptionValue
impl From<&str> for PounceOptionValue
Source§impl From<bool> for PounceOptionValue
impl From<bool> for PounceOptionValue
Source§impl From<f64> for PounceOptionValue
impl From<f64> for PounceOptionValue
Source§impl From<i32> for PounceOptionValue
impl From<i32> for PounceOptionValue
Source§impl PartialEq for PounceOptionValue
impl PartialEq for PounceOptionValue
impl StructuralPartialEq for PounceOptionValue
Auto Trait Implementations§
impl Freeze for PounceOptionValue
impl RefUnwindSafe for PounceOptionValue
impl Send for PounceOptionValue
impl Sync for PounceOptionValue
impl Unpin for PounceOptionValue
impl UnsafeUnpin for PounceOptionValue
impl UnwindSafe for PounceOptionValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more