Struct freya_layout::SkiaMeasurer
source · pub struct SkiaMeasurer<'a> {
pub font_collection: &'a FontCollection,
pub rdom: &'a DioxusDOM,
}
Expand description
Provides Text measurements using Skia APIs like SkParagraph
Fields§
§font_collection: &'a FontCollection
§rdom: &'a DioxusDOM
Implementations§
source§impl<'a> SkiaMeasurer<'a>
impl<'a> SkiaMeasurer<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SkiaMeasurer<'a>
impl<'a> !Send for SkiaMeasurer<'a>
impl<'a> !Sync for SkiaMeasurer<'a>
impl<'a> Unpin for SkiaMeasurer<'a>
impl<'a> !UnwindSafe for SkiaMeasurer<'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