pub struct LayoutIter(/* private fields */);
Implementations§
Source§impl LayoutIter
impl LayoutIter
pub fn at_last_line(&mut self) -> bool
pub fn get_baseline(&mut self) -> i32
pub fn get_char_extents(&mut self) -> Rectangle
pub fn get_cluster_extents(&mut self) -> (Rectangle, Rectangle)
pub fn get_index(&mut self) -> i32
pub fn get_layout(&mut self) -> Option<Layout>
pub fn get_layout_extents(&mut self) -> (Rectangle, Rectangle)
pub fn get_line(&mut self) -> Option<LayoutLine>
pub fn get_line_extents(&mut self) -> (Rectangle, Rectangle)
pub fn get_line_readonly(&mut self) -> Option<LayoutLine>
pub fn get_line_yrange(&mut self) -> (i32, i32)
pub fn get_run(&mut self) -> Option<LayoutRun>
pub fn get_run_extents(&mut self) -> (Rectangle, Rectangle)
pub fn get_run_readonly(&mut self) -> Option<LayoutRun>
pub fn next_char(&mut self) -> bool
pub fn next_cluster(&mut self) -> bool
pub fn next_line(&mut self) -> bool
pub fn next_run(&mut self) -> bool
Trait Implementations§
Source§impl Clone for LayoutIter
impl Clone for LayoutIter
Source§fn clone(&self) -> LayoutIter
fn clone(&self) -> LayoutIter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LayoutIter
impl Debug for LayoutIter
Source§impl Hash for LayoutIter
impl Hash for LayoutIter
Source§impl Ord for LayoutIter
impl Ord for LayoutIter
Source§fn cmp(&self, other: &LayoutIter) -> Ordering
fn cmp(&self, other: &LayoutIter) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutIter
impl PartialEq for LayoutIter
Source§impl PartialOrd for LayoutIter
impl PartialOrd for LayoutIter
Source§impl StaticType for LayoutIter
impl StaticType for LayoutIter
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for LayoutIter
impl StructuralPartialEq for LayoutIter
Auto Trait Implementations§
impl Freeze for LayoutIter
impl RefUnwindSafe for LayoutIter
impl !Send for LayoutIter
impl !Sync for LayoutIter
impl Unpin for LayoutIter
impl UnwindSafe for LayoutIter
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