pub struct TransformedBounds {
pub bounds: Rect,
pub clip: Rect,
pub transform: Matrix,
}Expand description
Holds information about the bounds of a control, together with a transform and a clip.
Fields§
§bounds: RectThe control’s bounds.
clip: RectThe clip rectangle, in global coordinates.
transform: MatrixThe transform that maps the control’s bounds to global coordinates.
Implementations§
Trait Implementations§
Source§impl Clone for TransformedBounds
impl Clone for TransformedBounds
impl Copy for TransformedBounds
Source§impl Debug for TransformedBounds
impl Debug for TransformedBounds
Source§impl Display for TransformedBounds
impl Display for TransformedBounds
Source§impl PartialEq for TransformedBounds
impl PartialEq for TransformedBounds
impl StructuralPartialEq for TransformedBounds
Auto Trait Implementations§
impl Freeze for TransformedBounds
impl RefUnwindSafe for TransformedBounds
impl Send for TransformedBounds
impl Sync for TransformedBounds
impl Unpin for TransformedBounds
impl UnsafeUnpin for TransformedBounds
impl UnwindSafe for TransformedBounds
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more