pub struct RingParams {
pub n: usize,
pub q: u64,
pub omega: u64,
}Fields§
§n: usize§q: u64§omega: u64Implementations§
Trait Implementations§
Source§impl Clone for RingParams
impl Clone for RingParams
Source§fn clone(&self) -> RingParams
fn clone(&self) -> RingParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RingParams
impl<'de> Deserialize<'de> for RingParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RingParams
impl RefUnwindSafe for RingParams
impl Send for RingParams
impl Sync for RingParams
impl Unpin for RingParams
impl UnsafeUnpin for RingParams
impl UnwindSafe for RingParams
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