pub struct Layout<'a> {
pub blocks: Vec<(FormatBlock, RenderBlock<'a>)>,
pub width: f32,
pub height: f32,
pub x: f32,
pub y: f32,
}
Fields
blocks: Vec<(FormatBlock, RenderBlock<'a>)>
width: f32
height: f32
x: f32
y: f32
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Layout<'a>
impl<'a> Send for Layout<'a>
impl<'a> Sync for Layout<'a>
impl<'a> Unpin for Layout<'a>
impl<'a> UnwindSafe for Layout<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more