pub struct FormatOptionsBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> FormatOptionsBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> FormatOptionsBuilder<'a, 'b, A>
pub fn add_number_style(&mut self, number_style: NumberStyle)
pub fn add_currency_code(&mut self, currency_code: WIPOffset<&'b str>)
pub fn add_date_style(&mut self, date_style: DateStyle)
pub fn add_custom_date_pattern( &mut self, custom_date_pattern: WIPOffset<&'b str>, )
pub fn add_min_fraction_digits(&mut self, min_fraction_digits: i32)
pub fn add_max_fraction_digits(&mut self, max_fraction_digits: i32)
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> FormatOptionsBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<FormatOptions<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for FormatOptionsBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for FormatOptionsBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for FormatOptionsBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for FormatOptionsBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for FormatOptionsBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for FormatOptionsBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for FormatOptionsBuilder<'a, 'b, A>
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