pub struct Sub {
pub op: SubOp,
pub field: Field,
pub at: u64,
pub on: Overflow,
}Expand description
One BITFIELD subcommand.
Fields§
§op: SubOpWhich of the three it is, and what it carries.
field: FieldThe width and signedness of the field.
at: u64Where the field starts, in bits.
The #n form a client can send is n times the width, and multiplying
it out is the wire layer’s job.
on: OverflowWhat to do if the value will not fit. Ignored by GET.
Trait Implementations§
impl Copy for Sub
impl Eq for Sub
impl StructuralPartialEq for Sub
Auto Trait Implementations§
impl Freeze for Sub
impl RefUnwindSafe for Sub
impl Send for Sub
impl Sync for Sub
impl Unpin for Sub
impl UnsafeUnpin for Sub
impl UnwindSafe for Sub
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more