pub struct Character<'a, T: 'a + ImageSize> {
pub offset: [Scalar; 2],
pub size: [Scalar; 2],
pub texture: &'a T,
}Expand description
Holds rendered character data.
Fields
offset: [Scalar; 2]The offset of character.
size: [Scalar; 2]The size of character, including space.
texture: &'a TThe texture of the character.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Character<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Character<'a, T>where
T: Sync,
impl<'a, T> Sync for Character<'a, T>where
T: Sync,
impl<'a, T> Unpin for Character<'a, T>
impl<'a, T> UnwindSafe for Character<'a, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more