pub type FieldConditionality = BitArray64<IsConditional>;
Expand description
An array with whether the ith field in the prefix of a prefix-type
is conditional,which means whether it has the
#[sabi(accessible_if = expression)]
attribute applied to it.
Aliased Type§
struct FieldConditionality { /* private fields */ }
Implementations
Source§impl<E> BitArray64<E>
impl<E> BitArray64<E>
Sourcepub const fn at(self, index: usize) -> Ewhere
E: BooleanEnum,
pub const fn at(self, index: usize) -> Ewhere
E: BooleanEnum,
Sourcepub const fn set(self, index: usize, value: E) -> Selfwhere
E: BooleanEnum,
pub const fn set(self, index: usize, value: E) -> Selfwhere
E: BooleanEnum,
Source§impl<E> BitArray64<E>
impl<E> BitArray64<E>
Source§impl<E> BitArray64<E>
impl<E> BitArray64<E>
Sourcepub const fn with_count(count: usize) -> Selfwhere
E: BooleanEnum,
pub const fn with_count(count: usize) -> Selfwhere
E: BooleanEnum,
Creates a BitArray64 where the first count
elements are truthy.
Trait Implementations
Source§impl<E> Clone for BitArray64<E>
impl<E> Clone for BitArray64<E>
Source§impl<E> Debug for BitArray64<E>where
E: BooleanEnum,
impl<E> Debug for BitArray64<E>where
E: BooleanEnum,
Source§impl<E> GetStaticEquivalent_ for BitArray64<E>where
E: __StableAbi,
impl<E> GetStaticEquivalent_ for BitArray64<E>where
E: __StableAbi,
Source§type StaticEquivalent = _static_BitArray64<<E as GetStaticEquivalent_>::StaticEquivalent>
type StaticEquivalent = _static_BitArray64<<E as GetStaticEquivalent_>::StaticEquivalent>
The
'static
equivalent of Self
Source§impl<E: PartialEq> PartialEq for BitArray64<E>
impl<E: PartialEq> PartialEq for BitArray64<E>
Source§impl<E> StableAbi for BitArray64<E>where
E: __StableAbi,
impl<E> StableAbi for BitArray64<E>where
E: __StableAbi,
Source§const LAYOUT: &'static TypeLayout = _
const LAYOUT: &'static TypeLayout = _
The layout of the type provided by implementors.
Source§type IsNonZeroType = <u64 as StableAbi>::IsNonZeroType
type IsNonZeroType = <u64 as StableAbi>::IsNonZeroType
Whether this type has a single invalid bit-pattern. Read more
Source§const ABI_CONSTS: AbiConsts = _
const ABI_CONSTS: AbiConsts = _
const
-equivalents of the associated types.