pub struct CircleStyleLayer {
pub meta: StyleLayerMeta,
pub source: StyleSourceId,
pub source_layer: Option<String>,
pub color: StyleValue<[f32; 4]>,
pub radius: StyleValue<f32>,
pub stroke_color: StyleValue<[f32; 4]>,
pub stroke_width: StyleValue<f32>,
}Expand description
Circle layer style spec.
Fields§
§meta: StyleLayerMeta§source: StyleSourceId§source_layer: Option<String>Optional source-layer name for vector-tile-like sources.
color: StyleValue<[f32; 4]>§radius: StyleValue<f32>§stroke_color: StyleValue<[f32; 4]>§stroke_width: StyleValue<f32>Implementations§
Trait Implementations§
Source§impl Clone for CircleStyleLayer
impl Clone for CircleStyleLayer
Source§fn clone(&self) -> CircleStyleLayer
fn clone(&self) -> CircleStyleLayer
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 moreAuto Trait Implementations§
impl Freeze for CircleStyleLayer
impl RefUnwindSafe for CircleStyleLayer
impl Send for CircleStyleLayer
impl Sync for CircleStyleLayer
impl Unpin for CircleStyleLayer
impl UnsafeUnpin for CircleStyleLayer
impl UnwindSafe for CircleStyleLayer
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