pub struct AnchorVariableDemand<E, A>{
pub variable_name: String,
/* private fields */
}Expand description
Demand for an anchor variable supply.
Fields§
§variable_name: StringThe variable name to track.
Implementations§
Trait Implementations§
Source§impl<E, A> SupplyDemand for AnchorVariableDemand<E, A>
impl<E, A> SupplyDemand for AnchorVariableDemand<E, A>
Source§type Output = ExternalizedAnchorVariableSupply<E, A>
type Output = ExternalizedAnchorVariableSupply<E, A>
The type of supply this demand requests.
Source§fn demand_key(&self) -> DemandKey
fn demand_key(&self) -> DemandKey
Returns a unique key identifying this specific demand. Read more
Source§fn create_supply(&self) -> Self::Output
fn create_supply(&self) -> Self::Output
Creates a new supply instance for this demand.
Auto Trait Implementations§
impl<E, A> Freeze for AnchorVariableDemand<E, A>
impl<E, A> RefUnwindSafe for AnchorVariableDemand<E, A>where
E: RefUnwindSafe,
A: RefUnwindSafe,
impl<E, A> Send for AnchorVariableDemand<E, A>
impl<E, A> Sync for AnchorVariableDemand<E, A>
impl<E, A> Unpin for AnchorVariableDemand<E, A>
impl<E, A> UnwindSafe for AnchorVariableDemand<E, A>where
E: UnwindSafe,
A: 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