Struct flatgeobuf::HeaderBuilder
source · [−]pub struct HeaderBuilder<'a: 'b, 'b> { /* private fields */ }
Implementations
sourceimpl<'a: 'b, 'b> HeaderBuilder<'a, 'b>
impl<'a: 'b, 'b> HeaderBuilder<'a, 'b>
pub fn add_name(&mut self, name: WIPOffset<&'b str>)
pub fn add_envelope(&mut self, envelope: WIPOffset<Vector<'b, f64>>)
pub fn add_geometry_type(&mut self, geometry_type: GeometryType)
pub fn add_hasZ(&mut self, hasZ: bool)
pub fn add_hasM(&mut self, hasM: bool)
pub fn add_hasT(&mut self, hasT: bool)
pub fn add_hasTM(&mut self, hasTM: bool)
pub fn add_columns(
&mut self,
columns: WIPOffset<Vector<'b, ForwardsUOffset<Column<'b>>>>
)
pub fn add_features_count(&mut self, features_count: u64)
pub fn add_index_node_size(&mut self, index_node_size: u16)
pub fn add_crs(&mut self, crs: WIPOffset<Crs<'b>>)
pub fn add_title(&mut self, title: WIPOffset<&'b str>)
pub fn add_description(&mut self, description: WIPOffset<&'b str>)
pub fn add_metadata(&mut self, metadata: WIPOffset<&'b str>)
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a>) -> HeaderBuilder<'a, 'b>
pub fn finish(self) -> WIPOffset<Header<'a>>
Auto Trait Implementations
impl<'a, 'b> RefUnwindSafe for HeaderBuilder<'a, 'b>
impl<'a, 'b> Send for HeaderBuilder<'a, 'b>
impl<'a, 'b> Sync for HeaderBuilder<'a, 'b>
impl<'a, 'b> Unpin for HeaderBuilder<'a, 'b> where
'a: 'b,
impl<'a, 'b> !UnwindSafe for HeaderBuilder<'a, 'b>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more