pub enum ViewportAlignment {
Center,
Top,
Bottom,
Left,
Right,
TopLeft,
TopRight,
BottomLeft,
BottomRight,
}Expand description
Placement of aspect-fitted bounds when unused pixel space remains.
Variants§
Trait Implementations§
Source§impl Clone for ViewportAlignment
impl Clone for ViewportAlignment
impl Copy for ViewportAlignment
Source§impl Debug for ViewportAlignment
impl Debug for ViewportAlignment
Source§impl Default for ViewportAlignment
impl Default for ViewportAlignment
impl Eq for ViewportAlignment
Source§impl Hash for ViewportAlignment
impl Hash for ViewportAlignment
Source§impl PartialEq for ViewportAlignment
impl PartialEq for ViewportAlignment
impl StructuralPartialEq for ViewportAlignment
Auto Trait Implementations§
impl Freeze for ViewportAlignment
impl RefUnwindSafe for ViewportAlignment
impl Send for ViewportAlignment
impl Sync for ViewportAlignment
impl Unpin for ViewportAlignment
impl UnsafeUnpin for ViewportAlignment
impl UnwindSafe for ViewportAlignment
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