#[repr(C)]pub struct sxt_config {
pub backend: c_int,
pub num_precomputed_generators: u64,
}Expand description
config struct to hold the chosen backend
Fields§
§backend: c_int§num_precomputed_generators: u64Trait Implementations§
Source§impl Clone for sxt_config
impl Clone for sxt_config
Source§fn clone(&self) -> sxt_config
fn clone(&self) -> sxt_config
Returns a duplicate 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 sxt_config
impl Debug for sxt_config
impl Copy for sxt_config
Auto Trait Implementations§
impl Freeze for sxt_config
impl RefUnwindSafe for sxt_config
impl Send for sxt_config
impl Sync for sxt_config
impl Unpin for sxt_config
impl UnwindSafe for sxt_config
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