pub enum ConstantSource {
Single(f32),
Double(f64),
}Variants§
Trait Implementations§
Source§impl Clone for ConstantSource
impl Clone for ConstantSource
Source§fn clone(&self) -> ConstantSource
fn clone(&self) -> ConstantSource
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 ConstantSource
impl Debug for ConstantSource
Source§impl PartialEq for ConstantSource
impl PartialEq for ConstantSource
impl Copy for ConstantSource
impl StructuralPartialEq for ConstantSource
Auto Trait Implementations§
impl Freeze for ConstantSource
impl RefUnwindSafe for ConstantSource
impl Send for ConstantSource
impl Sync for ConstantSource
impl Unpin for ConstantSource
impl UnwindSafe for ConstantSource
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