pub struct FieldWrap<B>(pub B);Expand description
A wrapper type to facilitate serialization and deserialization of field elements.
Tuple Fields§
§0: BImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldWrap<Fr>
impl<'de> Deserialize<'de> for FieldWrap<Fr>
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<B> Freeze for FieldWrap<B>where
B: Freeze,
impl<B> RefUnwindSafe for FieldWrap<B>where
B: RefUnwindSafe,
impl<B> Send for FieldWrap<B>where
B: Send,
impl<B> Sync for FieldWrap<B>where
B: Sync,
impl<B> Unpin for FieldWrap<B>where
B: Unpin,
impl<B> UnsafeUnpin for FieldWrap<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for FieldWrap<B>where
B: 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