#[repr(C)]pub struct SsRect {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}Expand description
A box in player-local units — the space ss_player_part_transform reports
in, with y downward.
Fields§
§x: f32§y: f32Low edge on y, which is the top edge on screen.
width: f32§height: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for SsRect
impl RefUnwindSafe for SsRect
impl Send for SsRect
impl Sync for SsRect
impl Unpin for SsRect
impl UnsafeUnpin for SsRect
impl UnwindSafe for SsRect
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