pub fn size(&self) -> FieldSize {
        match *self {
            Field::Reserved(n) => n,
            Field::Boolean(_) => 1,
            Field::Integer(_, n) => n,
            Field::Enum(_, n, _) => n,
        }
    }
/// Get the size in bits.
///
/// ```
/// use bitview::Field;
/// let res_act: Field = Field::Boolean("res_act".into());
/// assert_eq!(res_act.size(), 1);
/// ```
Get the size in bits.
Get the size in bits .
pub fn size(&self) -> FieldSize {
        match *self {
            Field::Reserved(n) => n,
            Field::Boolean(_) => 1,
            Field::Integer(_, n) => n,
            Field::Enum(_, n, _) => n,
        }
    }
pub fn size ( & self ) -> FieldSize { match * self { Field :: Reserved ( n ) => n , Field :: Boolean ( _ ) => 1 , Field :: Integer ( _ , n ) => n , Field :: Enum ( _ , n , _ ) => n , } }
Get the size in bits.
Get the size in bits .
&self