Struct let_engine::LabelCreateInfo
source · pub struct LabelCreateInfo {
pub transform: Transform,
pub appearance: Appearance,
pub text: String,
pub scale: Vec2,
pub align: [f32; 2],
}
Fields§
§transform: Transform
§appearance: Appearance
§text: String
§scale: Vec2
§align: [f32; 2]
Trait Implementations§
source§impl Clone for LabelCreateInfo
impl Clone for LabelCreateInfo
source§fn clone(&self) -> LabelCreateInfo
fn clone(&self) -> LabelCreateInfo
Returns a copy 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 !RefUnwindSafe for LabelCreateInfo
impl Send for LabelCreateInfo
impl Sync for LabelCreateInfo
impl Unpin for LabelCreateInfo
impl !UnwindSafe for LabelCreateInfo
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.