[][src]Struct flatgeobuf::Feature

pub struct Feature<'a> {
    pub _tab: Table<'a>,
}

Fields

_tab: Table<'a>

Methods

impl<'a> Feature<'a>[src]

pub fn init_from_table(table: Table<'a>) -> Self[src]

pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
    _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
    args: &'args FeatureArgs<'args>
) -> WIPOffset<Feature<'bldr>>
[src]

pub const VT_GEOMETRY: VOffsetT[src]

pub const VT_PROPERTIES: VOffsetT[src]

pub const VT_COLUMNS: VOffsetT[src]

pub fn geometry(&self) -> Option<Geometry<'a>>[src]

pub fn properties(&self) -> Option<&'a [u8]>[src]

pub fn columns(&self) -> Option<Vector<'a, ForwardsUOffset<Column<'a>>>>[src]

impl<'_> Feature<'_>[src]

pub fn to_geojson<'a, W: Write>(
    &self,
    out: &'a mut W,
    header: &Header,
    geometry_type: GeometryType
)
[src]

Convert feature to GeoJSON

impl<'_> Feature<'_>[src]

pub fn iter_properties<R>(&self, header: &Header, reader: R) -> bool where
    R: FnMut(usize, &str, ColumnValue) -> bool
[src]

pub fn properties_map(&self, header: &Header) -> HashMap<String, String>[src]

Trait Implementations

impl<'a> Clone for Feature<'a>[src]

impl<'a> Copy for Feature<'a>[src]

impl<'a> Debug for Feature<'a>[src]

impl<'a> Follow<'a> for Feature<'a>[src]

type Inner = Feature<'a>

impl<'a> PartialEq<Feature<'a>> for Feature<'a>[src]

impl<'a> StructuralPartialEq for Feature<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Feature<'a>

impl<'a> Send for Feature<'a>

impl<'a> Sync for Feature<'a>

impl<'a> Unpin for Feature<'a>

impl<'a> UnwindSafe for Feature<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.