Struct let_engine::Label
source · pub struct Label {
pub transform: Transform,
pub appearance: Appearance,
pub font: Arc<GameFont>,
pub text: String,
pub scale: Vec2,
pub align: [f32; 2],
/* private fields */
}
Fields§
§transform: Transform
§appearance: Appearance
§font: Arc<GameFont>
§text: String
§scale: Vec2
§align: [f32; 2]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl !UnwindSafe for Label
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