[−][src]Struct fbs::Vector
Implementations
impl<'a, T: 'a> Vector<'a, T>
[src]
pub fn new(buf: &'a [u8], loc: usize) -> Self
[src]
pub fn len(&self) -> Result<usize, Error>
[src]
pub fn is_empty(&self) -> Result<bool, Error>
[src]
impl<'a, T: Follow<'a> + 'a> Vector<'a, T>
[src]
pub fn get(&self, idx: usize) -> Result<T::Inner, Error>
[src]
pub fn iter(&self) -> VectorIter<'a, T>
[src]
impl<'a, T: SafeSliceAccess + 'a> Vector<'a, T>
[src]
pub fn safe_slice(self) -> Result<&'a [T], Error>
[src]
Trait Implementations
impl<'a, T> Clone for Vector<'a, T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T> Copy for Vector<'a, T>
[src]
impl<'a, T: Debug + 'a> Debug for Vector<'a, T>
[src]
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 = Result<T::Inner, Error>
The type of the elements being iterated over.
type IntoIter = VectorIter<'a, T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a, 'b, T: Follow<'a> + 'a> IntoIterator for &'b Vector<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Vector<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for Vector<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for Vector<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for Vector<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for Vector<'a, T> where
T: UnwindSafe,
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<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> I
[src]
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>,