pub struct SingleElement<F>(pub F);Tuple Fields§
§0: FImplementations§
Source§impl<F> SingleElement<F>
impl<F> SingleElement<F>
Trait Implementations§
Source§impl<F: Clone> Clone for SingleElement<F>
impl<F: Clone> Clone for SingleElement<F>
Source§fn clone(&self) -> SingleElement<F>
fn clone(&self) -> SingleElement<F>
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<F: Debug> Debug for SingleElement<F>
impl<F: Debug> Debug for SingleElement<F>
Source§impl<F: Field> Message<F> for SingleElement<F>
impl<F: Field> Message<F> for SingleElement<F>
fn len(_vars: usize, _param_resolver: &ParamResolver) -> usize
fn to_field_elements(&self) -> Vec<F>
impl<F: Copy> Copy for SingleElement<F>
Auto Trait Implementations§
impl<F> Freeze for SingleElement<F>where
F: Freeze,
impl<F> RefUnwindSafe for SingleElement<F>where
F: RefUnwindSafe,
impl<F> Send for SingleElement<F>where
F: Send,
impl<F> Sync for SingleElement<F>where
F: Sync,
impl<F> Unpin for SingleElement<F>where
F: Unpin,
impl<F> UnsafeUnpin for SingleElement<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for SingleElement<F>where
F: UnwindSafe,
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