Struct mesdoc::interface::Texts [−][src]
Implementations
impl<'a> Texts<'a>
[src]
pub fn with_capacity(cap: usize) -> Self
[src]
pub fn length(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn get_ref(&self) -> &Vec<BoxDynText<'a>>
[src]
pub fn get_mut_ref(&mut self) -> &mut Vec<BoxDynText<'a>>
[src]
pub fn for_each<F>(&mut self, handle: F) -> &mut Self where
F: FnMut(usize, &mut BoxDynText<'_>) -> bool,
[src]
F: FnMut(usize, &mut BoxDynText<'_>) -> bool,
pub fn each<F>(&mut self, handle: F) -> &mut Self where
F: FnMut(usize, &mut BoxDynText<'_>) -> bool,
[src]
F: FnMut(usize, &mut BoxDynText<'_>) -> bool,
pub fn filter_by<F>(&self, handle: F) -> Texts<'a> where
F: Fn(usize, &BoxDynText<'_>) -> bool,
[src]
F: Fn(usize, &BoxDynText<'_>) -> bool,
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]
fn from(nodes: Vec<BoxDynText<'a>>) -> Self
[src]
impl<'a> IntoIterator for Texts<'a>
[src]
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]
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, 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>,