pub struct ClaimedEnum { /* private fields */ }Expand description
One Rust enum’s claim on a contract-declared value set.
Implementations§
Source§impl ClaimedEnum
impl ClaimedEnum
Sourcepub fn of<E: ContractEnum>() -> Self
pub fn of<E: ContractEnum>() -> Self
Register one parameter enum.
Trait Implementations§
Source§impl Clone for ClaimedEnum
impl Clone for ClaimedEnum
Source§fn clone(&self) -> ClaimedEnum
fn clone(&self) -> ClaimedEnum
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 moreimpl Copy for ClaimedEnum
Auto Trait Implementations§
impl Freeze for ClaimedEnum
impl RefUnwindSafe for ClaimedEnum
impl Send for ClaimedEnum
impl Sync for ClaimedEnum
impl Unpin for ClaimedEnum
impl UnsafeUnpin for ClaimedEnum
impl UnwindSafe for ClaimedEnum
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