Struct ExGetAscent
pub struct ExGetAscent<'ex> { /* private fields */ }Expand description
Default-param extender for Font::get_ascent_ex.
Implementations§
§impl<'ex> ExGetAscent<'ex>
impl<'ex> ExGetAscent<'ex>
pub fn font_size(self, font_size: i32) -> ExGetAscent<'ex>
pub fn done(self) -> f32
Auto Trait Implementations§
impl<'ex> Freeze for ExGetAscent<'ex>
impl<'ex> RefUnwindSafe for ExGetAscent<'ex>
impl<'ex> !Send for ExGetAscent<'ex>
impl<'ex> !Sync for ExGetAscent<'ex>
impl<'ex> Unpin for ExGetAscent<'ex>
impl<'ex> UnwindSafe for ExGetAscent<'ex>
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