Struct visdom::types::Texts[][src]

pub struct Texts<'a> { /* fields omitted */ }

Implementations

impl<'a> Texts<'a>[src]

pub fn with_capacity(cap: usize) -> Texts<'a>[src]

pub fn length(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn get_ref(&self) -> &Vec<Box<dyn ITextTrait + 'a, Global>, Global>[src]

pub fn get_mut_ref(
    &mut self
) -> &mut Vec<Box<dyn ITextTrait + 'a, Global>, Global>
[src]

pub fn for_each<F>(&mut self, handle: F) -> &mut Texts<'a> where
    F: FnMut(usize, &mut Box<dyn ITextTrait, Global>) -> bool
[src]

pub fn each<F>(&mut self, handle: F) -> &mut Texts<'a> where
    F: FnMut(usize, &mut Box<dyn ITextTrait, Global>) -> bool
[src]

pub fn filter_by<F>(&self, handle: F) -> Texts<'a> where
    F: Fn(usize, &Box<dyn ITextTrait, Global>) -> bool
[src]

pub fn remove(self)[src]

Trait Implementations

impl<'a> Default for Texts<'a>[src]

impl<'a> From<Vec<Box<dyn ITextTrait + 'a, Global>, Global>> for Texts<'a>[src]

impl<'a> IntoIterator for Texts<'a>[src]

type Item = Box<dyn ITextTrait + 'a, Global>

The type of the elements being iterated over.

type IntoIter = Box<dyn Iterator<Item = <Texts<'a> as IntoIterator>::Item> + 'a, Global>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Texts<'a>

impl<'a> !Send for Texts<'a>

impl<'a> !Sync for Texts<'a>

impl<'a> Unpin for Texts<'a>

impl<'a> !UnwindSafe for Texts<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.