pub enum PropValue {
Bool(Option<bool>),
I8(Option<i8>),
U8(Option<u8>),
I32(Option<i32>),
U32(Option<u32>),
I64(Option<i64>),
U64(Option<u64>),
F32(Option<f32>),
F64(Option<f64>),
Str(Option<String>),
}Expand description
A single typed value for one property of one feature.
Mirrors the scalar variants of ParsedProperty at the per-feature
level. SharedDict items are flattened: each sub-field becomes its own
PropValue::Str entry in TileFeature::properties, with the
corresponding entry in TileLayer01::property_names set to
"prefix:suffix".
Variants§
Bool(Option<bool>)
I8(Option<i8>)
U8(Option<u8>)
I32(Option<i32>)
U32(Option<u32>)
I64(Option<i64>)
U64(Option<u64>)
F32(Option<f32>)
F64(Option<f64>)
Str(Option<String>)
Trait Implementations§
impl StructuralPartialEq for PropValue
Auto Trait Implementations§
impl Freeze for PropValue
impl RefUnwindSafe for PropValue
impl Send for PropValue
impl Sync for PropValue
impl Unpin for PropValue
impl UnsafeUnpin for PropValue
impl UnwindSafe for PropValue
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