Struct pgx_pg_sys::SampleScanState
source · [−]#[repr(C)]pub struct SampleScanState {
pub ss: ScanState,
pub args: *mut List,
pub repeatable: *mut ExprState,
pub tsmroutine: *mut TsmRoutine,
pub tsm_state: *mut c_void,
pub use_bulkread: bool,
pub use_pagemode: bool,
pub begun: bool,
pub seed: uint32,
pub donetuples: int64,
pub haveblock: bool,
pub done: bool,
}
Fields
ss: ScanState
args: *mut List
repeatable: *mut ExprState
tsmroutine: *mut TsmRoutine
tsm_state: *mut c_void
use_bulkread: bool
use_pagemode: bool
begun: bool
seed: uint32
donetuples: int64
haveblock: bool
done: bool
Trait Implementations
sourceimpl Clone for SampleScanState
impl Clone for SampleScanState
sourcefn clone(&self) -> SampleScanState
fn clone(&self) -> SampleScanState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SampleScanState
impl Debug for SampleScanState
sourceimpl Default for SampleScanState
impl Default for SampleScanState
sourceimpl Display for SampleScanState
impl Display for SampleScanState
sourceimpl PgNode for SampleScanState
impl PgNode for SampleScanState
type NodeType = SampleScanState
sourcefn as_node_ptr(&self) -> *mut Self::NodeType
fn as_node_ptr(&self) -> *mut Self::NodeType
Represent this node as a mutable pointer of its type
impl Copy for SampleScanState
Auto Trait Implementations
impl RefUnwindSafe for SampleScanState
impl !Send for SampleScanState
impl !Sync for SampleScanState
impl Unpin for SampleScanState
impl UnwindSafe for SampleScanState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more