pub struct EffectId(pub u32);Expand description
Identifies one request across the FFI boundary, for as long as anything could still refer to it.
Ids are issued in ascending order and are not reused when a request completes, so an id that has been resolved stays unusable rather than being handed to some unrelated later request.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for EffectId
impl<'de> Deserialize<'de> for EffectId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for EffectId
impl Eq for EffectId
impl StructuralPartialEq for EffectId
Auto Trait Implementations§
impl Freeze for EffectId
impl RefUnwindSafe for EffectId
impl Send for EffectId
impl Sync for EffectId
impl Unpin for EffectId
impl UnsafeUnpin for EffectId
impl UnwindSafe for EffectId
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