pub struct CrankIndicator { /* private fields */ }
Implementations§
source§impl CrankIndicator
impl CrankIndicator
pub fn new(scale: DisplayScale) -> Result<Self, ApiError>
pub fn set_scale(&self, scale: DisplayScale)
pub fn set_offset(&self, x: i8, y: i8)
Trait Implementations§
source§impl AsRaw for CrankIndicator
impl AsRaw for CrankIndicator
source§impl SpriteApi for CrankIndicator
impl SpriteApi for CrankIndicator
source§impl SpriteType for CrankIndicator
impl SpriteType for CrankIndicator
§type Api = <CrankIndicator as SpriteApi>::Api
type Api = <CrankIndicator as SpriteApi>::Api
Type of API access-point.
§type Userdata = <UpdateDraw as SpriteType>::Userdata
type Userdata = <UpdateDraw as SpriteType>::Userdata
Associated user-data with sprite.
source§const FREE_ON_DROP: bool = false
const FREE_ON_DROP: bool = false
Should be freed when sprite is dropped.
impl AnySprite for CrankIndicator
Auto Trait Implementations§
impl Freeze for CrankIndicator
impl RefUnwindSafe for CrankIndicator
impl !Send for CrankIndicator
impl !Sync for CrankIndicator
impl Unpin for CrankIndicator
impl UnwindSafe for CrankIndicator
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes