#[repr(C)]pub struct StyleText {
pub color: nk_color,
pub padding: nk_vec2,
}
Fields§
§color: nk_color
§padding: nk_vec2
Trait Implementations§
Source§impl Clone for nk_style_text
impl Clone for nk_style_text
Source§fn clone(&self) -> nk_style_text
fn clone(&self) -> nk_style_text
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 nk_style_text
impl Debug for nk_style_text
Source§impl Default for nk_style_text
impl Default for nk_style_text
Source§fn default() -> nk_style_text
fn default() -> nk_style_text
Returns the “default value” for a type. Read more
impl Copy for nk_style_text
Auto Trait Implementations§
impl Freeze for nk_style_text
impl RefUnwindSafe for nk_style_text
impl Send for nk_style_text
impl Sync for nk_style_text
impl Unpin for nk_style_text
impl UnwindSafe for nk_style_text
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