Struct cea708_types::tables::DefineWindowArgs
source · pub struct DefineWindowArgs {Show 13 fields
pub window_id: u8,
pub priority: u8,
pub anchor_point: Anchor,
pub relative_positioning: bool,
pub anchor_vertical: u8,
pub anchor_horizontal: u8,
pub row_count: u8,
pub column_count: u8,
pub row_lock: bool,
pub column_lock: bool,
pub visible: bool,
pub window_style_id: u8,
pub pen_style_id: u8,
}Expand description
Arguments required for the Code::DefineWindow command
Fields§
§window_id: u8§priority: u8§anchor_point: Anchor§relative_positioning: bool§anchor_vertical: u8§anchor_horizontal: u8§row_count: u8§column_count: u8§row_lock: bool§column_lock: bool§visible: bool§window_style_id: u8§pen_style_id: u8Implementations§
source§impl DefineWindowArgs
impl DefineWindowArgs
pub const fn new( window_id: u8, priority: u8, anchor_point: Anchor, relative_positioning: bool, anchor_vertical: u8, anchor_horizontal: u8, row_count: u8, column_count: u8, row_lock: bool, column_lock: bool, visible: bool, window_style_id: u8, pen_style_id: u8 ) -> Self
sourcepub fn window_attributes(&self) -> SetWindowAttributesArgs
pub fn window_attributes(&self) -> SetWindowAttributesArgs
Retrieve the default window attributes for this DefineWindowArgs
sourcepub fn pen_attributes(&self) -> SetPenAttributesArgs
pub fn pen_attributes(&self) -> SetPenAttributesArgs
Retrieve the default pen attributes for this DefineWindowArgs
sourcepub fn pen_color(&self) -> SetPenColorArgs
pub fn pen_color(&self) -> SetPenColorArgs
Retrieve the default pen color for this DefineWindowArgs
Trait Implementations§
source§impl Clone for DefineWindowArgs
impl Clone for DefineWindowArgs
source§fn clone(&self) -> DefineWindowArgs
fn clone(&self) -> DefineWindowArgs
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 DefineWindowArgs
impl Debug for DefineWindowArgs
source§impl From<DefineWindowArgs> for [u8; 6]
impl From<DefineWindowArgs> for [u8; 6]
source§fn from(args: DefineWindowArgs) -> Self
fn from(args: DefineWindowArgs) -> Self
Converts to this type from the input type.
source§impl Ord for DefineWindowArgs
impl Ord for DefineWindowArgs
source§fn cmp(&self, other: &DefineWindowArgs) -> Ordering
fn cmp(&self, other: &DefineWindowArgs) -> 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 DefineWindowArgs
impl PartialEq for DefineWindowArgs
source§fn eq(&self, other: &DefineWindowArgs) -> bool
fn eq(&self, other: &DefineWindowArgs) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DefineWindowArgs
impl PartialOrd for DefineWindowArgs
source§fn partial_cmp(&self, other: &DefineWindowArgs) -> Option<Ordering>
fn partial_cmp(&self, other: &DefineWindowArgs) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for DefineWindowArgs
impl Eq for DefineWindowArgs
impl StructuralPartialEq for DefineWindowArgs
Auto Trait Implementations§
impl Freeze for DefineWindowArgs
impl RefUnwindSafe for DefineWindowArgs
impl Send for DefineWindowArgs
impl Sync for DefineWindowArgs
impl Unpin for DefineWindowArgs
impl UnwindSafe for DefineWindowArgs
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