Struct libfive::Bitmap[][src]

pub struct Bitmap(_);
Expand description

Bitmap representing occupancy in a slice of a Tree.

It contains width() * height() pixels, in row-major order.

Implementations

Returns the bitmap pixel buffer as a flat [bool] slice.

The length is width() × height().

Returns the bitmap pixel buffer as a flat, mutable [bool] slice.

The length is width() × height().

Returns the value of the pixel x, y.

Returns the width of the bitmap.

Returns the height of the bitmap.

Trait Implementations

Executes the destructor for this type. 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

Performs the conversion.

Performs the conversion.

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.