Struct planetkit::globe::ChunkOrigin [] [src]

pub struct ChunkOrigin { /* fields omitted */ }

Wrapper type around a Pos that is known to express a valid chunk origin.

Note that this does not save you from accidentally using positions from multiple incompatible Globes with different resolutions.

Methods

impl ChunkOrigin
[src]

[src]

impl<'a> ChunkOrigin
[src]

[src]

Trait Implementations

impl Default for ChunkOrigin
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for ChunkOrigin
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ChunkOrigin
[src]

impl PartialEq for ChunkOrigin
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ChunkOrigin
[src]

impl Debug for ChunkOrigin
[src]

[src]

Formats the value using the given formatter.

impl Hash for ChunkOrigin
[src]

[src]

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

1.3.0
[src]

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

impl Into<GridPoint3> for ChunkOrigin
[src]

[src]

Performs the conversion.