Struct pgrx_pg_sys::QueryOperand
source · #[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