pub struct Feat {
pub offset: f64,
pub tzid: Option<String>,
pub polys: Vec<Vec<Vec<(f64, f64)>>>,
}Expand description
One timezone feature as loaded from the source GeoJSON: it carries the
polygons plus the tzid and UTC offset metadata.
Fields§
§offset: f64The UTC offset in hours (fractional values allowed), which serves ocean zones without a tzid.
tzid: Option<String>The IANA timezone id, or None for pure-offset ocean zones.
polys: Vec<Vec<Vec<(f64, f64)>>>The feature’s polygons (exterior ring first, holes after).
Auto Trait Implementations§
impl Freeze for Feat
impl RefUnwindSafe for Feat
impl Send for Feat
impl Sync for Feat
impl Unpin for Feat
impl UnsafeUnpin for Feat
impl UnwindSafe for Feat
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