pub struct ChangeGCAux {
Show 23 fields pub function: Option<GX>, pub plane_mask: Option<u32>, pub foreground: Option<u32>, pub background: Option<u32>, pub line_width: Option<u32>, pub line_style: Option<LineStyle>, pub cap_style: Option<CapStyle>, pub join_style: Option<JoinStyle>, pub fill_style: Option<FillStyle>, pub fill_rule: Option<FillRule>, pub tile: Option<u32>, pub stipple: Option<u32>, pub tile_stipple_x_origin: Option<i32>, pub tile_stipple_y_origin: Option<i32>, pub font: Option<u32>, pub subwindow_mode: Option<SubwindowMode>, pub graphics_exposures: Option<u32>, pub clip_x_origin: Option<i32>, pub clip_y_origin: Option<i32>, pub clip_mask: Option<u32>, pub dash_offset: Option<u32>, pub dashes: Option<u32>, pub arc_mode: Option<ArcMode>,
}
Expand description

Auxiliary and optional information for the change_gc function

Fields

function: Option<GX>plane_mask: Option<u32>foreground: Option<u32>background: Option<u32>line_width: Option<u32>line_style: Option<LineStyle>cap_style: Option<CapStyle>join_style: Option<JoinStyle>fill_style: Option<FillStyle>fill_rule: Option<FillRule>tile: Option<u32>stipple: Option<u32>tile_stipple_x_origin: Option<i32>tile_stipple_y_origin: Option<i32>font: Option<u32>subwindow_mode: Option<SubwindowMode>graphics_exposures: Option<u32>clip_x_origin: Option<i32>clip_y_origin: Option<i32>clip_mask: Option<u32>dash_offset: Option<u32>dashes: Option<u32>arc_mode: Option<ArcMode>

Implementations

Create a new instance with all fields unset / not present.

Set the function field of this structure.

Set the plane_mask field of this structure.

Set the foreground field of this structure.

Set the background field of this structure.

Set the line_width field of this structure.

Set the line_style field of this structure.

Set the cap_style field of this structure.

Set the join_style field of this structure.

Set the fill_style field of this structure.

Set the fill_rule field of this structure.

Set the tile field of this structure.

Set the stipple field of this structure.

Set the tile_stipple_x_origin field of this structure.

Set the tile_stipple_y_origin field of this structure.

Set the font field of this structure.

Set the subwindow_mode field of this structure.

Set the graphics_exposures field of this structure.

Set the clip_x_origin field of this structure.

Set the clip_y_origin field of this structure.

Set the clip_mask field of this structure.

Set the dash_offset field of this structure.

Set the dashes field of this structure.

Set the arc_mode field of this structure.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more