pub struct DamageDetail {
pub reason: DamageReason,
pub node_id: Option<UiId>,
pub old_bounds: Option<UiRect>,
pub new_bounds: Option<UiRect>,
pub rects: Vec<UiRect>,
}Fields§
§reason: DamageReason§node_id: Option<UiId>§old_bounds: Option<UiRect>§new_bounds: Option<UiRect>§rects: Vec<UiRect>Trait Implementations§
Source§impl Clone for DamageDetail
impl Clone for DamageDetail
Source§fn clone(&self) -> DamageDetail
fn clone(&self) -> DamageDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DamageDetail
impl RefUnwindSafe for DamageDetail
impl Send for DamageDetail
impl Sync for DamageDetail
impl Unpin for DamageDetail
impl UnsafeUnpin for DamageDetail
impl UnwindSafe for DamageDetail
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