pub struct BearingsConfig {
pub show_distance: bool,
pub show_icons: bool,
pub show_pinned: bool,
pub fade_distance: f32,
}Fields§
§show_distance: bool§show_icons: bool§show_pinned: bool§fade_distance: f32Trait Implementations§
Source§impl Clone for BearingsConfig
impl Clone for BearingsConfig
Source§fn clone(&self) -> BearingsConfig
fn clone(&self) -> BearingsConfig
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 moreimpl Copy for BearingsConfig
Source§impl Debug for BearingsConfig
impl Debug for BearingsConfig
Source§impl PartialEq for BearingsConfig
impl PartialEq for BearingsConfig
Source§fn eq(&self, other: &BearingsConfig) -> bool
fn eq(&self, other: &BearingsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BearingsConfig
Auto Trait Implementations§
impl Freeze for BearingsConfig
impl RefUnwindSafe for BearingsConfig
impl Send for BearingsConfig
impl Sync for BearingsConfig
impl Unpin for BearingsConfig
impl UnsafeUnpin for BearingsConfig
impl UnwindSafe for BearingsConfig
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