pub struct ViewportPlacement {
pub x: f64,
pub y: f64,
pub viewport_padding: f64,
pub constrain: bool,
}Expand description
A manually positioned viewport layer. Position is independent of its logical ancestors and never implies a popup anchor or a source lookup.
Fields§
§x: f64§y: f64§viewport_padding: f64§constrain: boolImplementations§
Trait Implementations§
Source§impl Clone for ViewportPlacement
impl Clone for ViewportPlacement
impl Copy for ViewportPlacement
Source§impl Debug for ViewportPlacement
impl Debug for ViewportPlacement
Source§impl Default for ViewportPlacement
impl Default for ViewportPlacement
Source§impl PartialEq for ViewportPlacement
impl PartialEq for ViewportPlacement
impl StructuralPartialEq for ViewportPlacement
Auto Trait Implementations§
impl Forget for ViewportPlacement
impl Freeze for ViewportPlacement
impl Move for ViewportPlacement
impl RefUnwindSafe for ViewportPlacement
impl Send for ViewportPlacement
impl Sync for ViewportPlacement
impl Unpin for ViewportPlacement
impl UnsafeUnpin for ViewportPlacement
impl UnwindSafe for ViewportPlacement
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