pub struct StyleSpecTerrain {
pub source: StyleSourceId,
}Expand description
Top-level terrain entry in a JSON style spec.
Fields§
§source: StyleSourceIdSource id referenced by the terrain configuration.
Trait Implementations§
Source§impl Clone for StyleSpecTerrain
impl Clone for StyleSpecTerrain
Source§fn clone(&self) -> StyleSpecTerrain
fn clone(&self) -> StyleSpecTerrain
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 moreSource§impl Debug for StyleSpecTerrain
impl Debug for StyleSpecTerrain
Source§impl<'de> Deserialize<'de> for StyleSpecTerrain
impl<'de> Deserialize<'de> for StyleSpecTerrain
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 Freeze for StyleSpecTerrain
impl RefUnwindSafe for StyleSpecTerrain
impl Send for StyleSpecTerrain
impl Sync for StyleSpecTerrain
impl Unpin for StyleSpecTerrain
impl UnsafeUnpin for StyleSpecTerrain
impl UnwindSafe for StyleSpecTerrain
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