Searched refs:FIELD_WIDTH (Results 1 – 2 of 2) sorted by relevance
117 const FIELD_WIDTH: u8 = #bits; in bitfield_tuple_struct_impl() constant173 const FIELD_WIDTH: u8 = #bits; in bitfield_enum_with_width_impl() constant244 const FIELD_WIDTH: u8 = #bits; in bitfield_enum_without_width_impl() constant433 <#field_types as ::bit_field::BitFieldSpecifier>::FIELD_WIDTH as usize in get_struct_def()477 [(); <#ty as ::bit_field::BitFieldSpecifier>::FIELD_WIDTH as usize]; in get_fields_impl()484 … let offset = #(<#current_types as ::bit_field::BitFieldSpecifier>::FIELD_WIDTH as usize)+*; in get_fields_impl()485 let val = self.get(offset, <#ty as ::bit_field::BitFieldSpecifier>::FIELD_WIDTH); in get_fields_impl()492 … let offset = #(<#current_types as ::bit_field::BitFieldSpecifier>::FIELD_WIDTH as usize)+*; in get_fields_impl()493 self.set(offset, <#ty as ::bit_field::BitFieldSpecifier>::FIELD_WIDTH, val) in get_fields_impl()622 const FIELD_WIDTH: u8 = #width; in define_bit_field_specifiers() constant[all …]
306 const FIELD_WIDTH: u8; constant325 if T::FIELD_WIDTH < 64 { in max()326 (1 << T::FIELD_WIDTH) - 1 in max()336 const FIELD_WIDTH: u8 = 1; constant