Struct cognitive_qualia::surface::SurfaceContext [] [src]

pub struct SurfaceContext {
    pub id: SurfaceId,
    pub pos: Position,
}

This structure defines how the surface should be drawn.

Fields

Methods

impl SurfaceContext
[src]

SurfaceContext constructor.

Creates new context with position moved by given vector.

Trait Implementations

impl Clone for SurfaceContext
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SurfaceContext
[src]

Formats the value using the given formatter.

impl Eq for SurfaceContext
[src]

impl PartialEq for SurfaceContext
[src]

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

This method tests for !=.