Skip to main content

HeaderBuilder

Struct HeaderBuilder 

Source
pub struct HeaderBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }

Implementations§

Source§

impl<'a: 'b, 'b, A: Allocator + 'a> HeaderBuilder<'a, 'b, A>

Source

pub fn add_transform(&mut self, transform: &Transform)

Source

pub fn add_appearance(&mut self, appearance: WIPOffset<Appearance<'b>>)

Source

pub fn add_columns( &mut self, columns: WIPOffset<Vector<'b, ForwardsUOffset<Column<'b>>>>, )

Source

pub fn add_semantic_columns( &mut self, semantic_columns: WIPOffset<Vector<'b, ForwardsUOffset<Column<'b>>>>, )

Source

pub fn add_features_count(&mut self, features_count: u64)

Source

pub fn add_index_node_size(&mut self, index_node_size: u16)

Source

pub fn add_attribute_index( &mut self, attribute_index: WIPOffset<Vector<'b, AttributeIndex>>, )

Source

pub fn add_geographical_extent( &mut self, geographical_extent: &GeographicalExtent, )

Source

pub fn add_reference_system( &mut self, reference_system: WIPOffset<ReferenceSystem<'b>>, )

Source

pub fn add_identifier(&mut self, identifier: WIPOffset<&'b str>)

Source

pub fn add_reference_date(&mut self, reference_date: WIPOffset<&'b str>)

Source

pub fn add_title(&mut self, title: WIPOffset<&'b str>)

Source

pub fn add_templates( &mut self, templates: WIPOffset<Vector<'b, ForwardsUOffset<Geometry<'b>>>>, )

Source

pub fn add_templates_vertices( &mut self, templates_vertices: WIPOffset<Vector<'b, DoubleVertex>>, )

Source

pub fn add_extensions( &mut self, extensions: WIPOffset<Vector<'b, ForwardsUOffset<Extension<'b>>>>, )

Source

pub fn add_poc_contact_name(&mut self, poc_contact_name: WIPOffset<&'b str>)

Source

pub fn add_poc_contact_type(&mut self, poc_contact_type: WIPOffset<&'b str>)

Source

pub fn add_poc_role(&mut self, poc_role: WIPOffset<&'b str>)

Source

pub fn add_poc_phone(&mut self, poc_phone: WIPOffset<&'b str>)

Source

pub fn add_poc_email(&mut self, poc_email: WIPOffset<&'b str>)

Source

pub fn add_poc_website(&mut self, poc_website: WIPOffset<&'b str>)

Source

pub fn add_poc_address_thoroughfare_number( &mut self, poc_address_thoroughfare_number: WIPOffset<&'b str>, )

Source

pub fn add_poc_address_thoroughfare_name( &mut self, poc_address_thoroughfare_name: WIPOffset<&'b str>, )

Source

pub fn add_poc_address_locality( &mut self, poc_address_locality: WIPOffset<&'b str>, )

Source

pub fn add_poc_address_postcode( &mut self, poc_address_postcode: WIPOffset<&'b str>, )

Source

pub fn add_poc_address_country( &mut self, poc_address_country: WIPOffset<&'b str>, )

Source

pub fn add_attributes(&mut self, attributes: WIPOffset<Vector<'b, u8>>)

Source

pub fn add_version(&mut self, version: WIPOffset<&'b str>)

Source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> HeaderBuilder<'a, 'b, A>

Source

pub fn finish(self) -> WIPOffset<Header<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> !UnwindSafe for HeaderBuilder<'a, 'b, A>

§

impl<'a, 'b, A> Freeze for HeaderBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for HeaderBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for HeaderBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for HeaderBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for HeaderBuilder<'a, 'b, A>

§

impl<'a, 'b, A> UnsafeUnpin for HeaderBuilder<'a, 'b, A>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more