Struct yew_hooks::UseMeasureState
source · [−]pub struct UseMeasureState {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
pub top: f64,
pub left: f64,
pub bottom: f64,
pub right: f64,
}Fields
x: f64y: f64width: f64height: f64top: f64left: f64bottom: f64right: f64Trait Implementations
sourceimpl Clone for UseMeasureState
impl Clone for UseMeasureState
sourcefn clone(&self) -> UseMeasureState
fn clone(&self) -> UseMeasureState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for UseMeasureState
impl Default for UseMeasureState
sourcefn default() -> UseMeasureState
fn default() -> UseMeasureState
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UseMeasureState> for UseMeasureState
impl PartialEq<UseMeasureState> for UseMeasureState
sourcefn eq(&self, other: &UseMeasureState) -> bool
fn eq(&self, other: &UseMeasureState) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UseMeasureState) -> bool
fn ne(&self, other: &UseMeasureState) -> bool
This method tests for !=.
impl StructuralPartialEq for UseMeasureState
Auto Trait Implementations
impl RefUnwindSafe for UseMeasureState
impl Send for UseMeasureState
impl Sync for UseMeasureState
impl Unpin for UseMeasureState
impl UnwindSafe for UseMeasureState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcepub fn into_prop_value(self) -> Option<T>
pub fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcepub fn into_prop_value(self) -> T
pub fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more