pub struct UDim2 {
pub x: UDim,
pub y: UDim,
}
Expand description
Standard 2D unit for measuring UI given as scale
, a fraction of the
container’s size and offset
, display-indepdendent pixels.
See Also
Fields§
§x: UDim
§y: UDim
Implementations§
Trait Implementations§
source§impl PartialEq for UDim2
impl PartialEq for UDim2
impl Copy for UDim2
impl StructuralPartialEq for UDim2
Auto Trait Implementations§
impl RefUnwindSafe for UDim2
impl Send for UDim2
impl Sync for UDim2
impl Unpin for UDim2
impl UnwindSafe for UDim2
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