#[repr(C)]pub struct GPCMatchingParams {
pub use_opencl: bool,
}Expand description
Class encapsulating matching parameters.
Fields§
§use_opencl: boolWhether to use OpenCL to speed up the matching.
Implementations§
Source§impl GPCMatchingParams
impl GPCMatchingParams
Sourcepub fn new(_use_opencl: bool) -> Result<GPCMatchingParams>
pub fn new(_use_opencl: bool) -> Result<GPCMatchingParams>
§C++ default parameters
- _use_opencl: false
Sourcepub fn new_def() -> Result<GPCMatchingParams>
pub fn new_def() -> Result<GPCMatchingParams>
§Note
This alternative version of [new] function uses the following default values for its arguments:
- _use_opencl: false
pub fn copy(params: GPCMatchingParams) -> Result<GPCMatchingParams>
Trait Implementations§
Source§impl Clone for GPCMatchingParams
impl Clone for GPCMatchingParams
Source§fn clone(&self) -> GPCMatchingParams
fn clone(&self) -> GPCMatchingParams
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 GPCMatchingParams
impl Debug for GPCMatchingParams
Source§impl PartialEq for GPCMatchingParams
impl PartialEq for GPCMatchingParams
impl Copy for GPCMatchingParams
impl StructuralPartialEq for GPCMatchingParams
Auto Trait Implementations§
impl Freeze for GPCMatchingParams
impl RefUnwindSafe for GPCMatchingParams
impl Send for GPCMatchingParams
impl Sync for GPCMatchingParams
impl Unpin for GPCMatchingParams
impl UnwindSafe for GPCMatchingParams
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