pub enum PositionInfo {
Static {
x_offset: f32,
y_offset: f32,
},
Fixed {
x_offset: f32,
y_offset: f32,
},
Absolute {
x_offset: f32,
y_offset: f32,
},
Relative {
x_offset: f32,
y_offset: f32,
},
}
Variants§
Implementations§
Source§impl PositionInfo
impl PositionInfo
pub fn is_positioned(&self) -> bool
Trait Implementations§
Source§impl Clone for PositionInfo
impl Clone for PositionInfo
Source§fn clone(&self) -> PositionInfo
fn clone(&self) -> PositionInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PositionInfo
impl Debug for PositionInfo
Source§impl PartialEq for PositionInfo
impl PartialEq for PositionInfo
Source§impl PartialOrd for PositionInfo
impl PartialOrd for PositionInfo
impl Copy for PositionInfo
impl StructuralPartialEq for PositionInfo
Auto Trait Implementations§
impl Freeze for PositionInfo
impl RefUnwindSafe for PositionInfo
impl Send for PositionInfo
impl Sync for PositionInfo
impl Unpin for PositionInfo
impl UnwindSafe for PositionInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)