#[repr(C)]pub struct QueryOperand {
pub type_: QueryItemType,
pub weight: uint8,
pub prefix: bool,
pub valcrc: int32,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Fields§
§type_: QueryItemType
§weight: uint8
§prefix: bool
§valcrc: int32
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations§
Source§impl QueryOperand
impl QueryOperand
pub fn length(&self) -> uint32
pub fn set_length(&mut self, val: uint32)
pub fn distance(&self) -> uint32
pub fn set_distance(&mut self, val: uint32)
pub fn new_bitfield_1( length: uint32, distance: uint32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for QueryOperand
impl Clone for QueryOperand
Source§fn clone(&self) -> QueryOperand
fn clone(&self) -> QueryOperand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for QueryOperand
impl Debug for QueryOperand
Source§impl Default for QueryOperand
impl Default for QueryOperand
Source§fn default() -> QueryOperand
fn default() -> QueryOperand
Returns the “default value” for a type. Read more
impl Copy for QueryOperand
Auto Trait Implementations§
impl Freeze for QueryOperand
impl RefUnwindSafe for QueryOperand
impl Send for QueryOperand
impl Sync for QueryOperand
impl Unpin for QueryOperand
impl UnwindSafe for QueryOperand
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