Struct comfy_core::TextParams
source · pub struct TextParams {
pub font: FontId,
pub rotation: f32,
pub color: Color,
}Fields§
§font: FontId§rotation: f32§color: ColorTrait Implementations§
source§impl Clone for TextParams
impl Clone for TextParams
source§fn clone(&self) -> TextParams
fn clone(&self) -> TextParams
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 moresource§impl Debug for TextParams
impl Debug for TextParams
source§impl Default for TextParams
impl Default for TextParams
source§fn default() -> TextParams
fn default() -> TextParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TextParams
impl Send for TextParams
impl Sync for TextParams
impl Unpin for TextParams
impl UnwindSafe for TextParams
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