pub struct Fragment {
pub width: f32,
pub height: f32,
}Expand description
A splittable fragment of inline content.
Fragments are the smallest logical units for inline layout. They carry size information only; positional data is computed during layout.
Fields§
§width: f32Fragment width
height: f32Fragment height
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fragment
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnwindSafe for Fragment
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