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