#[repr(C)]
pub struct CxxFlagMask { /* private fields */ }
Expand description

CXX Wrapper for aoflagger::FlagMask, a two-dimensional mask of bool flags.

Please see the aoflagger documentation for more details.

Implementations

Get the width (number of timesteps) of the CxxFlagMask

Get the height (number of coarse × fine frequency channels) of the CxxFlagMask

Get the total number of bools in one row of the CxxFlagMask

Row might have been padded to allow for SSE instructions and other optimizations. Therefore, one should add the horizontal stride to a data pointer to get the float in the next row (channel).

(Immutably) access the raw bool buffer of the CxxFlagMask

(Mutably) access the raw bool buffer of the CxxFlagMask

Trait Implementations

type Id

A type-level representation of the type’s C++ namespace and type name. 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.

Calls U::from(self).

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

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. 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.