pub enum TrackStep {
One,
PointOne,
PointZeroOne,
PointZeroZeroOne,
}Expand description
トラックバーの移動単位。
Variants§
Implementations§
Source§impl TrackStep
impl TrackStep
Sourcepub fn parse_and_get(
value: &str,
) -> Result<(TrackStep, f64), TrackStepParseError>
pub fn parse_and_get( value: &str, ) -> Result<(TrackStep, f64), TrackStepParseError>
パースして精度と値を取得します。
Sourcepub fn round_to_string(&self, value: f64) -> String
pub fn round_to_string(&self, value: f64) -> String
値を特定の精度に丸めて文字列化します。
Trait Implementations§
impl Copy for TrackStep
impl Eq for TrackStep
impl StructuralPartialEq for TrackStep
Auto Trait Implementations§
impl Freeze for TrackStep
impl RefUnwindSafe for TrackStep
impl Send for TrackStep
impl Sync for TrackStep
impl Unpin for TrackStep
impl UnwindSafe for TrackStep
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.