[−][src]Struct gba_types::ObjAttr0
Implementations
impl ObjAttr0
[src]
#[must_use]pub fn y_coordinate(self) -> u16
[src]
#[must_use]pub fn obj_display_mode(self) -> ObjDisplayMode
[src]
#[must_use]pub fn obj_mode(self) -> u16
[src]
#[must_use]pub fn use_mosaic(self) -> bool
[src]
#[must_use]pub fn is_8bpp(self) -> bool
[src]
#[must_use]pub fn obj_shape(self) -> u16
[src]
pub fn set_y_coordinate(&mut self, y_coordinate: u16)
[src]
pub fn set_obj_display_mode(&mut self, obj_display_mode: ObjDisplayMode)
[src]
pub fn set_obj_mode(&mut self, obj_mode: u16)
[src]
pub fn set_use_mosaic(&mut self, use_mosaic: bool)
[src]
pub fn set_is_8bpp(&mut self, is_8bpp: bool)
[src]
pub fn set_obj_shape(&mut self, obj_shape: u16)
[src]
Trait Implementations
impl Clone for ObjAttr0
[src]
fn clone(&self) -> ObjAttr0
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ObjAttr0
[src]
impl Debug for ObjAttr0
[src]
impl Default for ObjAttr0
[src]
impl Eq for ObjAttr0
[src]
impl Hash for ObjAttr0
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ObjAttr0
[src]
fn cmp(&self, other: &ObjAttr0) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ObjAttr0> for ObjAttr0
[src]
impl PartialOrd<ObjAttr0> for ObjAttr0
[src]
fn partial_cmp(&self, other: &ObjAttr0) -> Option<Ordering>
[src]
fn lt(&self, other: &ObjAttr0) -> bool
[src]
fn le(&self, other: &ObjAttr0) -> bool
[src]
fn gt(&self, other: &ObjAttr0) -> bool
[src]
fn ge(&self, other: &ObjAttr0) -> bool
[src]
impl StructuralEq for ObjAttr0
[src]
impl StructuralPartialEq for ObjAttr0
[src]
Auto Trait Implementations
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, 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>,