[−][src]Struct flatbuffers::Vector
Implementations
impl<'a, T: 'a> Vector<'a, T>
[src]
pub fn new(buf: &'a [u8], loc: usize) -> Self
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
impl<'a, T: Follow<'a> + 'a> Vector<'a, T>
[src]
pub fn get(&self, idx: usize) -> T::Inner
[src]
pub fn iter(&self) -> VectorIter<'a, T>ⓘNotable traits for VectorIter<'a, T>
impl<'a, T: Follow<'a> + 'a> Iterator for VectorIter<'a, T> type Item = T::Inner;
[src]
Notable traits for VectorIter<'a, T>
impl<'a, T: Follow<'a> + 'a> Iterator for VectorIter<'a, T> type Item = T::Inner;
impl<'a, T: SafeSliceAccess + 'a> Vector<'a, T>
[src]
pub fn safe_slice(self) -> &'a [T]
[src]
Trait Implementations
impl<'a, T> Clone for Vector<'a, T>
[src]
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T> Copy for Vector<'a, T>
[src]
impl<'a, T> Debug for Vector<'a, T> where
T: 'a + Follow<'a>,
<T as Follow<'a>>::Inner: Debug,
[src]
T: 'a + Follow<'a>,
<T as Follow<'a>>::Inner: Debug,
impl<'a, T: Follow<'a> + 'a> Follow<'a> for Vector<'a, T>
[src]
Implement Follow for all possible Vectors that have Follow-able elements.
impl<'a, T: Follow<'a> + 'a> IntoIterator for Vector<'a, T>
[src]
type Item = T::Inner
The type of the elements being iterated over.
type IntoIter = VectorIter<'a, T>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl<'a, 'b, T: Follow<'a> + 'a> IntoIterator for &'b Vector<'a, T>
[src]
type Item = T::Inner
The type of the elements being iterated over.
type IntoIter = VectorIter<'a, T>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl<T: SimpleToVerifyInSlice> Verifiable for Vector<'_, T>
[src]
pub fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
[src]
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
impl<T: Verifiable> Verifiable for Vector<'_, ForwardsUOffset<T>>
[src]
pub fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
[src]
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Vector<'a, T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<'a, T> Send for Vector<'a, T> where
T: Send,
[src]
T: Send,
impl<'a, T> Sync for Vector<'a, T> where
T: Sync,
[src]
T: Sync,
impl<'a, T> Unpin for Vector<'a, T> where
T: Unpin,
[src]
T: Unpin,
impl<'a, T> UnwindSafe for Vector<'a, 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>,