pub struct Props {
pub onsize: Callback<ComponentSize>,
}
Expand description
ComponentSizeObserver properties
Fields§
§onsize: Callback<ComponentSize>
A callback that is fired when the component size changes for any reason.
Trait Implementations§
Source§impl Properties for Props
impl Properties for Props
impl StructuralPartialEq for Props
Auto Trait Implementations§
impl Freeze for Props
impl !RefUnwindSafe for Props
impl !Send for Props
impl !Sync for Props
impl Unpin for Props
impl !UnwindSafe for Props
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