Struct bit_struct::GetSet[][src]

pub struct GetSet<'a, P, T, const START: usize, const STOP: usize> { /* fields omitted */ }
Expand description

A struct which allows for getting/setting a given property

Implementations

Create a new GetSet. This should be called from methods generated by the bit_struct macro

Get the property. Returns an error it does not exist.

Set the property

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.