Struct cognitive_qualia::defs::SurfaceId [] [src]

pub struct SurfaceId(_);

Structure representing surface ID. TODO: Define SurfaceId using define_id macro.

Methods

impl SurfaceId
[src]

Create new surface ID.

Create new invalid surface ID.

Check if the surface ID is valid.

Cast surface ID as number.

Trait Implementations

impl Clone for SurfaceId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SurfaceId
[src]

impl Eq for SurfaceId
[src]

impl PartialEq for SurfaceId
[src]

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

This method tests for !=.

impl Hash for SurfaceId
[src]

Feeds this value into the given [Hasher]. Read more

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

impl Debug for SurfaceId
[src]

Formats the value using the given formatter.

impl Display for SurfaceId
[src]

Formats the value using the given formatter. Read more