pub struct CustomButtonStyle { /* private fields */ }Expand description
A registered style, as the one word SwiftUI stores.
The same arrangement as a custom layout: SwiftUI copies a style value freely, so what it holds is an index into a Rust-side table rather than the closure, which is not something it could copy.
Auto Trait Implementations§
impl Freeze for CustomButtonStyle
impl RefUnwindSafe for CustomButtonStyle
impl Send for CustomButtonStyle
impl Sync for CustomButtonStyle
impl Unpin for CustomButtonStyle
impl UnsafeUnpin for CustomButtonStyle
impl UnwindSafe for CustomButtonStyle
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