Struct mapboxgl::marker::MarkerOptions
source · pub struct MarkerOptions {
pub anchor: Option<String>,
pub click_tolerance: Option<u64>,
pub color: Option<String>,
pub draggable: Option<bool>,
pub element: Option<HtmlElement>,
pub pitch_alignment: Option<String>,
pub rotation: Option<u64>,
pub rotation_alignment: Option<String>,
pub scale: Option<u64>,
}
Fields§
§anchor: Option<String>
§click_tolerance: Option<u64>
§color: Option<String>
§draggable: Option<bool>
§element: Option<HtmlElement>
§pitch_alignment: Option<String>
§rotation: Option<u64>
§rotation_alignment: Option<String>
§scale: Option<u64>
Implementations§
source§impl MarkerOptions
impl MarkerOptions
pub fn new() -> MarkerOptions
Trait Implementations§
source§impl Default for MarkerOptions
impl Default for MarkerOptions
source§fn default() -> MarkerOptions
fn default() -> MarkerOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MarkerOptions
impl<'de> Deserialize<'de> for MarkerOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MarkerOptions
impl !Send for MarkerOptions
impl !Sync for MarkerOptions
impl Unpin for MarkerOptions
impl UnwindSafe for MarkerOptions
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