Struct allegro::bitmap::SubBitmap [−][src]
Implementations
impl SubBitmap[src]
Trait Implementations
impl BitmapLike for SubBitmap[src]
fn get_allegro_bitmap(&self) -> *mut ALLEGRO_BITMAP[src]
fn create_sub_bitmap(
&self,
x: i32,
y: i32,
w: i32,
h: i32
) -> Result<Weak<SubBitmap>, ()>[src]
&self,
x: i32,
y: i32,
w: i32,
h: i32
) -> Result<Weak<SubBitmap>, ()>
fn get_width(&self) -> i32[src]
fn get_height(&self) -> i32[src]
fn get_format(&self) -> PixelFormat[src]
fn get_flags(&self) -> BitmapFlags[src]
fn get_pixel(&self, x: i32, y: i32) -> Color[src]
fn convert_mask_to_alpha(&self, mask_color: Color)[src]
fn is_compatible_bitmap(&self) -> bool[src]
impl Drop for SubBitmap[src]
impl Send for SubBitmap[src]
impl Sync for SubBitmap[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,
pub 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.
pub 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>,