pub struct Painter {
pub color_ref: ColorRef,
pub font_ref: FontRef,
pub font_size: u16,
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub superscript: bool,
pub subscript: bool,
pub smallcaps: bool,
pub strike: bool,
}
Fields§
§color_ref: ColorRef
§font_ref: FontRef
§font_size: u16
§bold: bool
§italic: bool
§underline: bool
§superscript: bool
§subscript: bool
§smallcaps: bool
§strike: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Painter
impl<'de> Deserialize<'de> for Painter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for Painter
impl FromWasmAbi for Painter
Source§impl IntoWasmAbi for Painter
impl IntoWasmAbi for Painter
Source§impl LongRefFromWasmAbi for Painter
impl LongRefFromWasmAbi for Painter
Source§impl OptionFromWasmAbi for Painter
impl OptionFromWasmAbi for Painter
Source§impl OptionIntoWasmAbi for Painter
impl OptionIntoWasmAbi for Painter
Source§impl RefFromWasmAbi for Painter
impl RefFromWasmAbi for Painter
Source§impl RefMutFromWasmAbi for Painter
impl RefMutFromWasmAbi for Painter
Source§impl TryFromJsValue for Painter
impl TryFromJsValue for Painter
Source§impl VectorFromWasmAbi for Painter
impl VectorFromWasmAbi for Painter
Source§impl VectorIntoWasmAbi for Painter
impl VectorIntoWasmAbi for Painter
impl StructuralPartialEq for Painter
impl SupportsConstructor for Painter
impl SupportsInstanceProperty for Painter
impl SupportsStaticProperty for Painter
Auto Trait Implementations§
impl Freeze for Painter
impl RefUnwindSafe for Painter
impl Send for Painter
impl Sync for Painter
impl Unpin for Painter
impl UnwindSafe for Painter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.