pub struct Marker<S: AsRef<str> + Clone> { /* private fields */ }
Implementations§
Source§impl<S: AsRef<str> + Clone> Marker<S>
impl<S: AsRef<str> + Clone> Marker<S>
pub fn new() -> Self
pub fn simple(color: &'static Color, label: char, location: Location) -> Self
pub fn add_location(&self, location: Location) -> Marker<S>
pub fn appearence(&self, appearence: MarkerAppearence<S>) -> Marker<S>
pub fn scale(&self, scale: MarkerScale) -> Marker<S>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Marker<S>where
S: Freeze,
impl<S> RefUnwindSafe for Marker<S>where
S: RefUnwindSafe,
impl<S> Send for Marker<S>where
S: Send,
impl<S> Sync for Marker<S>where
S: Sync,
impl<S> Unpin for Marker<S>where
S: Unpin,
impl<S> UnwindSafe for Marker<S>where
S: UnwindSafe,
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