pub struct USBWaypoint { /* private fields */ }Expand description
A waypoint in the Universal Sailor Buddy (USB) notecard format
Implementations§
Source§impl USBWaypoint
impl USBWaypoint
Sourcepub const fn new(location: Location, comment: Option<String>) -> Self
pub const fn new(location: Location, comment: Option<String>) -> Self
Create a new USB waypoint
Sourcepub fn region_coordinates(&self) -> RegionCoordinates
pub fn region_coordinates(&self) -> RegionCoordinates
get the region coordinates of the waypoint
Trait Implementations§
Source§impl Clone for USBWaypoint
impl Clone for USBWaypoint
Source§fn clone(&self) -> USBWaypoint
fn clone(&self) -> USBWaypoint
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 USBWaypoint
impl Debug for USBWaypoint
Source§impl Display for USBWaypoint
impl Display for USBWaypoint
Auto Trait Implementations§
impl Freeze for USBWaypoint
impl RefUnwindSafe for USBWaypoint
impl Send for USBWaypoint
impl Sync for USBWaypoint
impl Unpin for USBWaypoint
impl UnwindSafe for USBWaypoint
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