pub struct TransactionRef(/* private fields */);Expand description
A SwiftUI.Transaction being handed to a .transaction callback.
Only for the duration of the call: the pointer is the one SwiftUI passed
inout, and writing through it after the callback returns writes to a dead
stack slot.
Implementations§
Source§impl TransactionRef
impl TransactionRef
Sourcepub fn set_disables_animations(self, value: bool)
pub fn set_disables_animations(self, value: bool)
Set disablesAnimations.
Trait Implementations§
Source§impl Clone for TransactionRef
impl Clone for TransactionRef
impl Copy for TransactionRef
Auto Trait Implementations§
impl !Send for TransactionRef
impl !Sync for TransactionRef
impl Freeze for TransactionRef
impl RefUnwindSafe for TransactionRef
impl Unpin for TransactionRef
impl UnsafeUnpin for TransactionRef
impl UnwindSafe for TransactionRef
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