pub struct LeafAnswer {
pub size: Size<f32>,
pub baseline: Option<f32>,
}Expand description
What a measured leaf answers for one taffy request.
Fields§
§size: Size<f32>§baseline: Option<f32>The first baseline, from the top of the border box; None = the
bottom edge (CSS synthesizes it there).
Trait Implementations§
Source§impl Clone for LeafAnswer
impl Clone for LeafAnswer
impl Copy for LeafAnswer
Source§impl Debug for LeafAnswer
impl Debug for LeafAnswer
Source§impl Default for LeafAnswer
impl Default for LeafAnswer
Source§impl PartialEq for LeafAnswer
impl PartialEq for LeafAnswer
impl StructuralPartialEq for LeafAnswer
Auto Trait Implementations§
impl Freeze for LeafAnswer
impl RefUnwindSafe for LeafAnswer
impl Send for LeafAnswer
impl Sync for LeafAnswer
impl Unpin for LeafAnswer
impl UnsafeUnpin for LeafAnswer
impl UnwindSafe for LeafAnswer
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