pub struct SetPenAttributesArgs {
pub pen_size: PenSize,
pub font_style: FontStyle,
pub text_tag: TextTag,
pub offset: TextOffset,
pub italics: bool,
pub underline: bool,
pub edge_type: EdgeType,
}Expand description
Arguments required for the Code::SetPenAttributes command
Fields§
§pen_size: PenSize§font_style: FontStyle§text_tag: TextTag§offset: TextOffset§italics: bool§underline: bool§edge_type: EdgeTypeImplementations§
Trait Implementations§
Source§impl Clone for SetPenAttributesArgs
impl Clone for SetPenAttributesArgs
Source§fn clone(&self) -> SetPenAttributesArgs
fn clone(&self) -> SetPenAttributesArgs
Returns a duplicate 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 SetPenAttributesArgs
impl Debug for SetPenAttributesArgs
Source§impl From<SetPenAttributesArgs> for [u8; 2]
impl From<SetPenAttributesArgs> for [u8; 2]
Source§fn from(args: SetPenAttributesArgs) -> Self
fn from(args: SetPenAttributesArgs) -> Self
Converts to this type from the input type.
Source§impl Ord for SetPenAttributesArgs
impl Ord for SetPenAttributesArgs
Source§fn cmp(&self, other: &SetPenAttributesArgs) -> Ordering
fn cmp(&self, other: &SetPenAttributesArgs) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SetPenAttributesArgs
impl PartialEq for SetPenAttributesArgs
Source§impl PartialOrd for SetPenAttributesArgs
impl PartialOrd for SetPenAttributesArgs
impl Copy for SetPenAttributesArgs
impl Eq for SetPenAttributesArgs
impl StructuralPartialEq for SetPenAttributesArgs
Auto Trait Implementations§
impl Freeze for SetPenAttributesArgs
impl RefUnwindSafe for SetPenAttributesArgs
impl Send for SetPenAttributesArgs
impl Sync for SetPenAttributesArgs
impl Unpin for SetPenAttributesArgs
impl UnwindSafe for SetPenAttributesArgs
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