Struct webrender::debug_font_data::BakedGlyph
source · pub struct BakedGlyph {
pub x0: u32,
pub y0: u32,
pub x1: u32,
pub y1: u32,
pub xo: f32,
pub yo: f32,
pub xa: f32,
}
Fields§
§x0: u32
§y0: u32
§x1: u32
§y1: u32
§xo: f32
§yo: f32
§xa: f32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BakedGlyph
impl RefUnwindSafe for BakedGlyph
impl Send for BakedGlyph
impl Sync for BakedGlyph
impl Unpin for BakedGlyph
impl UnwindSafe for BakedGlyph
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more