pub struct CourseSpeed {
pub course_degrees: u16,
pub speed_knots: f64,
}Fields§
§course_degrees: u16§speed_knots: f64Implementations§
Trait Implementations§
Source§impl Clone for CourseSpeed
impl Clone for CourseSpeed
Source§fn clone(&self) -> CourseSpeed
fn clone(&self) -> CourseSpeed
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 CourseSpeed
impl Debug for CourseSpeed
Source§impl PartialEq for CourseSpeed
impl PartialEq for CourseSpeed
Source§fn eq(&self, other: &CourseSpeed) -> bool
fn eq(&self, other: &CourseSpeed) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CourseSpeed
impl StructuralPartialEq for CourseSpeed
Auto Trait Implementations§
impl Freeze for CourseSpeed
impl RefUnwindSafe for CourseSpeed
impl Send for CourseSpeed
impl Sync for CourseSpeed
impl Unpin for CourseSpeed
impl UnsafeUnpin for CourseSpeed
impl UnwindSafe for CourseSpeed
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