pub struct ViewBoxMapping {
pub transform: Matrix,
pub clip: Rect,
}Expand description
How a view box maps shape coordinates onto the area of a visual.
Fields§
§transform: MatrixThe transform from shape coordinates to the coordinates of the visual.
clip: RectThe mapped view box, in the coordinates of the visual, limited to the area: what stays visible.
Trait Implementations§
Source§impl Clone for ViewBoxMapping
impl Clone for ViewBoxMapping
impl Copy for ViewBoxMapping
Source§impl Debug for ViewBoxMapping
impl Debug for ViewBoxMapping
Source§impl PartialEq for ViewBoxMapping
impl PartialEq for ViewBoxMapping
impl StructuralPartialEq for ViewBoxMapping
Auto Trait Implementations§
impl Freeze for ViewBoxMapping
impl RefUnwindSafe for ViewBoxMapping
impl Send for ViewBoxMapping
impl Sync for ViewBoxMapping
impl Unpin for ViewBoxMapping
impl UnsafeUnpin for ViewBoxMapping
impl UnwindSafe for ViewBoxMapping
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