#[repr(transparent)]pub struct Felt(pub BaseElement);Expand description
A Felt represented as a felt (miden_core::Felt).
Tuple Fields§
§0: BaseElementImplementations§
Trait Implementations§
Source§impl AddAssign for Felt
impl AddAssign for Felt
Source§fn add_assign(&mut self, other: Felt)
fn add_assign(&mut self, other: Felt)
Performs the
+= operation. Read moreSource§impl DivAssign for Felt
impl DivAssign for Felt
Source§fn div_assign(&mut self, other: Felt)
fn div_assign(&mut self, other: Felt)
Performs the
/= operation. Read moreSource§impl From<BaseElement> for Felt
impl From<BaseElement> for Felt
Source§fn from(value: BaseElement) -> Felt
fn from(value: BaseElement) -> Felt
Converts to this type from the input type.
Source§impl MulAssign for Felt
impl MulAssign for Felt
Source§fn mul_assign(&mut self, other: Felt)
fn mul_assign(&mut self, other: Felt)
Performs the
*= operation. Read moreSource§impl Ord for Felt
impl Ord for Felt
Source§impl PartialOrd for Felt
impl PartialOrd for Felt
Source§impl SubAssign for Felt
impl SubAssign for Felt
Source§fn sub_assign(&mut self, other: Felt)
fn sub_assign(&mut self, other: Felt)
Performs the
-= operation. Read moreimpl Copy for Felt
impl Eq for Felt
Auto Trait Implementations§
impl Freeze for Felt
impl RefUnwindSafe for Felt
impl Send for Felt
impl Sync for Felt
impl Unpin for Felt
impl UnwindSafe for Felt
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