pub struct OpenGraphDataBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> OpenGraphDataBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> OpenGraphDataBuilder<'a, 'b, A>
pub fn add_title(&mut self, title: WIPOffset<&'b str>)
pub fn add_description(&mut self, description: WIPOffset<&'b str>)
pub fn add_image(&mut self, image: WIPOffset<&'b str>)
pub fn add_image_alt(&mut self, image_alt: WIPOffset<&'b str>)
pub fn add_image_width(&mut self, image_width: i32)
pub fn add_image_height(&mut self, image_height: i32)
pub fn add_og_type(&mut self, og_type: OGType)
pub fn add_url(&mut self, url: WIPOffset<&'b str>)
pub fn add_site_name(&mut self, site_name: WIPOffset<&'b str>)
pub fn add_locale(&mut self, locale: WIPOffset<&'b str>)
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> OpenGraphDataBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<OpenGraphData<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for OpenGraphDataBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for OpenGraphDataBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for OpenGraphDataBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for OpenGraphDataBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for OpenGraphDataBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for OpenGraphDataBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for OpenGraphDataBuilder<'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