pub struct LayoutIter<'a> { /* private fields */ }Expand description
An iterator over text layout elements.
Implementations§
Source§impl<'a> LayoutIter<'a>
impl<'a> LayoutIter<'a>
Sourcepub fn next(&mut self, level: LayoutLevel) -> Option<Element<'_>>
pub fn next(&mut self, level: LayoutLevel) -> Option<Element<'_>>
Returns the next layout element at the specified level or
None if such an element doesn’t exist.
Trait Implementations§
Source§impl Clone for LayoutIter<'_>
impl Clone for LayoutIter<'_>
Auto Trait Implementations§
impl<'a> Freeze for LayoutIter<'a>
impl<'a> RefUnwindSafe for LayoutIter<'a>
impl<'a> !Send for LayoutIter<'a>
impl<'a> !Sync for LayoutIter<'a>
impl<'a> Unpin for LayoutIter<'a>
impl<'a> UnsafeUnpin for LayoutIter<'a>
impl<'a> UnwindSafe for LayoutIter<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more