Struct pgrx_pg_sys::SortSupportData
source · #[repr(C)]pub struct SortSupportData {
pub ssup_cxt: MemoryContext,
pub ssup_collation: Oid,
pub ssup_reverse: bool,
pub ssup_nulls_first: bool,
pub ssup_attno: AttrNumber,
pub ssup_extra: *mut c_void,
pub comparator: Option<unsafe extern "C" fn(x: Datum, y: Datum, ssup: SortSupport) -> c_int>,
pub abbreviate: bool,
pub abbrev_converter: Option<unsafe extern "C" fn(original: Datum, ssup: SortSupport) -> Datum>,
pub abbrev_abort: Option<unsafe extern "C" fn(memtupcount: c_int, ssup: SortSupport) -> bool>,
pub abbrev_full_comparator: Option<unsafe extern "C" fn(x: Datum, y: Datum, ssup: SortSupport) -> c_int>,
}
Fields§
§ssup_cxt: MemoryContext
§ssup_collation: Oid
§ssup_reverse: bool
§ssup_nulls_first: bool
§ssup_attno: AttrNumber
§ssup_extra: *mut c_void
§comparator: Option<unsafe extern "C" fn(x: Datum, y: Datum, ssup: SortSupport) -> c_int>
§abbreviate: bool
§abbrev_converter: Option<unsafe extern "C" fn(original: Datum, ssup: SortSupport) -> Datum>
§abbrev_abort: Option<unsafe extern "C" fn(memtupcount: c_int, ssup: SortSupport) -> bool>
§abbrev_full_comparator: Option<unsafe extern "C" fn(x: Datum, y: Datum, ssup: SortSupport) -> c_int>
Trait Implementations§
source§impl Clone for SortSupportData
impl Clone for SortSupportData
source§fn clone(&self) -> SortSupportData
fn clone(&self) -> SortSupportData
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 SortSupportData
impl Debug for SortSupportData
source§impl Default for SortSupportData
impl Default for SortSupportData
impl Copy for SortSupportData
Auto Trait Implementations§
impl Freeze for SortSupportData
impl RefUnwindSafe for SortSupportData
impl !Send for SortSupportData
impl !Sync for SortSupportData
impl Unpin for SortSupportData
impl UnwindSafe for SortSupportData
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