pub struct CharLayout {
pub ch: char,
pub position: Vec3,
pub color: Vec4,
pub emission: f32,
pub scale: Vec2,
pub layer: RenderLayer,
pub blend: BlendMode,
}Expand description
A single character’s layout result.
Fields§
§ch: char§position: Vec3§color: Vec4§emission: f32§scale: Vec2§layer: RenderLayer§blend: BlendModeTrait Implementations§
Source§impl Clone for CharLayout
impl Clone for CharLayout
Source§fn clone(&self) -> CharLayout
fn clone(&self) -> CharLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CharLayout
impl RefUnwindSafe for CharLayout
impl Send for CharLayout
impl Sync for CharLayout
impl Unpin for CharLayout
impl UnsafeUnpin for CharLayout
impl UnwindSafe for CharLayout
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