pub struct DemandKey {
pub supply_type: TypeId,
pub variable_name: String,
pub discriminator: Option<String>,
}Expand description
A unique key identifying a supply demand.
The key combines the supply type with the variable it tracks, allowing multiple supplies of the same type for different variables.
Fields§
§supply_type: TypeIdThe type of supply being requested.
variable_name: StringThe name of the variable this supply tracks.
discriminator: Option<String>Optional discriminator for multiple supplies of the same type/variable.
Implementations§
Trait Implementations§
impl Eq for DemandKey
impl StructuralPartialEq for DemandKey
Auto Trait Implementations§
impl Freeze for DemandKey
impl RefUnwindSafe for DemandKey
impl Send for DemandKey
impl Sync for DemandKey
impl Unpin for DemandKey
impl UnwindSafe for DemandKey
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