[−][src]Struct flatbuffers::WIPOffset
WIPOffset contains an UOffsetT with a special meaning: it is the location of data relative to the end of an in-progress FlatBuffer. The FlatBufferBuilder uses this to track the location of objects in an absolute way. The impl of Push converts a WIPOffset into a ForwardsUOffset.
Implementations
impl<'a, T: 'a> WIPOffset<T>
[src]
pub fn new(o: UOffsetT) -> WIPOffset<T>
[src]
Create a new WIPOffset.
pub fn as_union_value(self) -> WIPOffset<UnionWIPOffset>
[src]
Return a wrapped value that brings its meaning as a union WIPOffset into the type system.
pub fn value(self) -> UOffsetT
[src]
Get the underlying value.
Trait Implementations
impl<T> Clone for WIPOffset<T>
[src]
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for WIPOffset<T>
[src]
impl<T: Debug> Debug for WIPOffset<T>
[src]
impl<T> Deref for WIPOffset<T>
[src]
impl<T> Eq for WIPOffset<T>
[src]
impl<T> PartialEq<WIPOffset<T>> for WIPOffset<T>
[src]
pub fn eq(&self, o: &WIPOffset<T>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T> Push for WIPOffset<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for WIPOffset<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for WIPOffset<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for WIPOffset<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for WIPOffset<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for WIPOffset<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,