pub struct IsStoredPredicate<'a, Ext: ExternalCall> {
pub ext: &'a Ext,
}Fields§
§ext: &'a ExtTrait Implementations§
Source§impl<Ext: ExternalCall> AtomicHelperInterface<<Ext as ExternalCall>::Address> for IsStoredPredicate<'_, Ext>
impl<Ext: ExternalCall> AtomicHelperInterface<<Ext as ExternalCall>::Address> for IsStoredPredicate<'_, Ext>
type Hash = <Ext as ExternalCall>::Hash
fn ext_address(&self) -> AddressOf<Ext>
fn ext_set_predicate_decision( &self, game_id: Self::Hash, decision: bool, ) -> ExecResult<AddressOf<Ext>>
fn ext_get_property_id(&self, property: &Property<AddressOf<Ext>>) -> Self::Hash
Source§impl<Ext: ExternalCall> AtomicPredicateInterface<<Ext as ExternalCall>::Address> for IsStoredPredicate<'_, Ext>
impl<Ext: ExternalCall> AtomicPredicateInterface<<Ext as ExternalCall>::Address> for IsStoredPredicate<'_, Ext>
fn decide(&self, inputs: Vec<Vec<u8>>) -> ExecResult<AddressOf<Ext>>
fn decide_true(&self, inputs: Vec<Vec<u8>>) -> ExecResult<Address>
impl<Ext: ExternalCall> BaseAtomicPredicateInterface<<Ext as ExternalCall>::Address> for IsStoredPredicate<'_, Ext>
Source§impl<Ext: ExternalCall> DecidablePredicateInterface<<Ext as ExternalCall>::Address> for IsStoredPredicate<'_, Ext>
impl<Ext: ExternalCall> DecidablePredicateInterface<<Ext as ExternalCall>::Address> for IsStoredPredicate<'_, Ext>
Auto Trait Implementations§
impl<'a, Ext> Freeze for IsStoredPredicate<'a, Ext>
impl<'a, Ext> RefUnwindSafe for IsStoredPredicate<'a, Ext>where
Ext: RefUnwindSafe,
impl<'a, Ext> Send for IsStoredPredicate<'a, Ext>where
Ext: Sync,
impl<'a, Ext> Sync for IsStoredPredicate<'a, Ext>where
Ext: Sync,
impl<'a, Ext> Unpin for IsStoredPredicate<'a, Ext>
impl<'a, Ext> UnsafeUnpin for IsStoredPredicate<'a, Ext>
impl<'a, Ext> UnwindSafe for IsStoredPredicate<'a, Ext>where
Ext: RefUnwindSafe,
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