pub struct PartialCsselr<const level: bool, const cache_type: bool> { /* private fields */ }Expand description
Builder struct for partial initialization of Csselr .
Implementations§
Source§impl<const cache_type: bool> PartialCsselr<false, cache_type>
impl<const cache_type: bool> PartialCsselr<false, cache_type>
Sourcepub const fn with_level(&self, value: u3) -> PartialCsselr<true, cache_type>
pub const fn with_level(&self, value: u3) -> PartialCsselr<true, cache_type>
0 for L1 cache, 1 for L2, etc.
Source§impl<const level: bool> PartialCsselr<level, false>
impl<const level: bool> PartialCsselr<level, false>
Sourcepub const fn with_cache_type(
&self,
value: CacheType,
) -> PartialCsselr<level, true>
pub const fn with_cache_type( &self, value: CacheType, ) -> PartialCsselr<level, true>
The type of cache