pub struct ZeroScalar;
Expand description
Appeared zero scalar is not expected/accepted
Trait Implementations§
Source§impl Clone for ZeroScalar
impl Clone for ZeroScalar
Source§fn clone(&self) -> ZeroScalar
fn clone(&self) -> ZeroScalar
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ZeroScalar
impl Debug for ZeroScalar
Source§impl Display for ZeroScalar
impl Display for ZeroScalar
Source§impl Error for ZeroScalar
Available on crate feature std
only.
impl Error for ZeroScalar
Available on crate feature
std
only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for ZeroScalar
Auto Trait Implementations§
impl Freeze for ZeroScalar
impl RefUnwindSafe for ZeroScalar
impl Send for ZeroScalar
impl Sync for ZeroScalar
impl Unpin for ZeroScalar
impl UnwindSafe for ZeroScalar
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