pub struct HillshadeStyleLayer {
pub meta: StyleLayerMeta,
pub highlight_color: StyleValue<[f32; 4]>,
pub shadow_color: StyleValue<[f32; 4]>,
pub accent_color: StyleValue<[f32; 4]>,
pub illumination_direction_deg: StyleValue<f32>,
pub illumination_altitude_deg: StyleValue<f32>,
pub exaggeration: StyleValue<f32>,
}Expand description
Hillshade layer style spec.
Fields§
§meta: StyleLayerMeta§highlight_color: StyleValue<[f32; 4]>§shadow_color: StyleValue<[f32; 4]>§accent_color: StyleValue<[f32; 4]>§illumination_direction_deg: StyleValue<f32>§illumination_altitude_deg: StyleValue<f32>§exaggeration: StyleValue<f32>Implementations§
Trait Implementations§
Source§impl Clone for HillshadeStyleLayer
impl Clone for HillshadeStyleLayer
Source§fn clone(&self) -> HillshadeStyleLayer
fn clone(&self) -> HillshadeStyleLayer
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 HillshadeStyleLayer
impl RefUnwindSafe for HillshadeStyleLayer
impl Send for HillshadeStyleLayer
impl Sync for HillshadeStyleLayer
impl Unpin for HillshadeStyleLayer
impl UnsafeUnpin for HillshadeStyleLayer
impl UnwindSafe for HillshadeStyleLayer
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