[−][src]Struct cat_engine::MouseCursorIconSettings
Fields
size: [f32; 2]
The icon size.
The default is [30f32;2].
shift: [f32; 2]
The icon position = mouse cursor position + shift
The default is [-15f32;2].
path: P
The path to the icon.
The default is ./mouse_cursor_icon.png
.
range: Range<usize>
The range of the texture vertex buffer to save icon vertexes.
The default is 4..8.
Implementations
impl MouseCursorIconSettings<PathBuf>
[src]
pub fn new() -> MouseCursorIconSettings<PathBuf>
[src]
Trait Implementations
impl<P: Clone + AsRef<Path>> Clone for MouseCursorIconSettings<P>
[src]
fn clone(&self) -> MouseCursorIconSettings<P>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: Debug + AsRef<Path>> Debug for MouseCursorIconSettings<P>
[src]
Auto Trait Implementations
impl<P> RefUnwindSafe for MouseCursorIconSettings<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for MouseCursorIconSettings<P> where
P: Send,
P: Send,
impl<P> Sync for MouseCursorIconSettings<P> where
P: Sync,
P: Sync,
impl<P> Unpin for MouseCursorIconSettings<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for MouseCursorIconSettings<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,