pub struct Cache(/* private fields */);Expand description
Cached graphics api end-point.
Stores one reference, so size on stack is eq usize.
All calls approximately costs ~1 deref.
Trait Implementations§
Source§impl Api for Cache
impl Api for Cache
Source§fn draw_text(
&self,
) -> unsafe extern "C" fn(text: *const c_void, len: usize, encoding: PDStringEncoding, x: c_int, y: c_int) -> c_int
fn draw_text( &self, ) -> unsafe extern "C" fn(text: *const c_void, len: usize, encoding: PDStringEncoding, x: c_int, y: c_int) -> c_int
Equivalent to sys::ffi::playdate_graphics::drawText
Source§fn get_text_width(
&self,
) -> unsafe extern "C" fn(font: *mut LCDFont, text: *const c_void, len: usize, encoding: PDStringEncoding, tracking: c_int) -> c_int
fn get_text_width( &self, ) -> unsafe extern "C" fn(font: *mut LCDFont, text: *const c_void, len: usize, encoding: PDStringEncoding, tracking: c_int) -> c_int
Equivalent to sys::ffi::playdate_graphics::getTextWidth
Source§fn get_font_height(&self) -> unsafe extern "C" fn(font: *mut LCDFont) -> u8
fn get_font_height(&self) -> unsafe extern "C" fn(font: *mut LCDFont) -> u8
Equivalent to sys::ffi::playdate_graphics::getFontHeight
Source§fn set_font(&self) -> unsafe extern "C" fn(font: *mut LCDFont)
fn set_font(&self) -> unsafe extern "C" fn(font: *mut LCDFont)
Equivalent to sys::ffi::playdate_graphics::setFont
Source§fn set_text_tracking(&self) -> unsafe extern "C" fn(tracking: c_int)
fn set_text_tracking(&self) -> unsafe extern "C" fn(tracking: c_int)
Equivalent to sys::ffi::playdate_graphics::setTextTracking
Source§fn get_text_tracking(&self) -> unsafe extern "C" fn() -> c_int
fn get_text_tracking(&self) -> unsafe extern "C" fn() -> c_int
Equivalent to sys::ffi::playdate_graphics::getTextTracking
Source§fn get_glyph_kerning(
&self,
) -> unsafe extern "C" fn(glyph: *mut LCDFontGlyph, glyphcode: u32, nextcode: u32) -> c_int
fn get_glyph_kerning( &self, ) -> unsafe extern "C" fn(glyph: *mut LCDFontGlyph, glyphcode: u32, nextcode: u32) -> c_int
Equivalent to sys::ffi::playdate_graphics::getGlyphKerning
Source§fn load_font(
&self,
) -> unsafe extern "C" fn(path: *const c_char, outErr: *mut *const c_char) -> *mut LCDFont
fn load_font( &self, ) -> unsafe extern "C" fn(path: *const c_char, outErr: *mut *const c_char) -> *mut LCDFont
Equivalent to sys::ffi::playdate_graphics::loadFont
Source§fn get_font_page(
&self,
) -> unsafe extern "C" fn(font: *mut LCDFont, c: u32) -> *mut LCDFontPage
fn get_font_page( &self, ) -> unsafe extern "C" fn(font: *mut LCDFont, c: u32) -> *mut LCDFontPage
Equivalent to sys::ffi::playdate_graphics::getFontPage
Source§fn get_page_glyph(
&self,
) -> unsafe extern "C" fn(page: *mut LCDFontPage, c: u32, bitmap: *mut *mut LCDBitmap, advance: *mut c_int) -> *mut LCDFontGlyph
fn get_page_glyph( &self, ) -> unsafe extern "C" fn(page: *mut LCDFontPage, c: u32, bitmap: *mut *mut LCDBitmap, advance: *mut c_int) -> *mut LCDFontGlyph
Equivalent to sys::ffi::playdate_graphics::getPageGlyph
Source§fn make_font_from_data(
&self,
) -> unsafe extern "C" fn(data: *mut LCDFontData, wide: c_int) -> *mut LCDFont
fn make_font_from_data( &self, ) -> unsafe extern "C" fn(data: *mut LCDFontData, wide: c_int) -> *mut LCDFont
Equivalent to sys::ffi::playdate_graphics::makeFontFromData
Source§fn set_text_leading(&self) -> unsafe extern "C" fn(lineHeightAdjustment: c_int)
fn set_text_leading(&self) -> unsafe extern "C" fn(lineHeightAdjustment: c_int)
Equivalent to sys::ffi::playdate_graphics::setTextLeading
Source§fn draw_text_in_rect(
&self,
) -> unsafe extern "C" fn(text: *const c_void, len: usize, encoding: PDStringEncoding, x: c_int, y: c_int, width: c_int, height: c_int, wrap: PDTextWrappingMode, align: PDTextAlignment)
fn draw_text_in_rect( &self, ) -> unsafe extern "C" fn(text: *const c_void, len: usize, encoding: PDStringEncoding, x: c_int, y: c_int, width: c_int, height: c_int, wrap: PDTextWrappingMode, align: PDTextAlignment)
sys::ffi::playdate_graphics::drawTextInRectSource§impl Api for Cache
impl Api for Cache
Source§fn new_bitmap_table(
&self,
) -> unsafe extern "C" fn(count: c_int, width: c_int, height: c_int) -> *mut LCDBitmapTable
fn new_bitmap_table( &self, ) -> unsafe extern "C" fn(count: c_int, width: c_int, height: c_int) -> *mut LCDBitmapTable
sys::ffi::playdate_graphics::newBitmapTableSource§fn free_bitmap_table(&self) -> unsafe extern "C" fn(table: *mut LCDBitmapTable)
fn free_bitmap_table(&self) -> unsafe extern "C" fn(table: *mut LCDBitmapTable)
sys::ffi::playdate_graphics::freeBitmapTableSource§fn load_bitmap_table(
&self,
) -> unsafe extern "C" fn(path: *const c_char, out_err: *mut *const c_char) -> *mut LCDBitmapTable
fn load_bitmap_table( &self, ) -> unsafe extern "C" fn(path: *const c_char, out_err: *mut *const c_char) -> *mut LCDBitmapTable
sys::ffi::playdate_graphics::loadBitmapTableSource§fn load_into_bitmap_table(
&self,
) -> unsafe extern "C" fn(path: *const c_char, table: *mut LCDBitmapTable, out_err: *mut *const c_char)
fn load_into_bitmap_table( &self, ) -> unsafe extern "C" fn(path: *const c_char, table: *mut LCDBitmapTable, out_err: *mut *const c_char)
sys::ffi::playdate_graphics::loadIntoBitmapTableSource§fn get_table_bitmap(
&self,
) -> unsafe extern "C" fn(table: *mut LCDBitmapTable, idx: c_int) -> *mut LCDBitmap
fn get_table_bitmap( &self, ) -> unsafe extern "C" fn(table: *mut LCDBitmapTable, idx: c_int) -> *mut LCDBitmap
sys::ffi::playdate_graphics::getTableBitmapSource§fn get_bitmap_table_info(
&self,
) -> unsafe extern "C" fn(table: *mut LCDBitmapTable, count: *mut c_int, width: *mut c_int)
fn get_bitmap_table_info( &self, ) -> unsafe extern "C" fn(table: *mut LCDBitmapTable, count: *mut c_int, width: *mut c_int)
sys::ffi::playdate_graphics::getBitmapTableInfoSource§impl Api for Cache
impl Api for Cache
Source§fn new_bitmap(
&self,
) -> unsafe extern "C" fn(width: c_int, height: c_int, bgcolor: LCDColor) -> *mut LCDBitmap
fn new_bitmap( &self, ) -> unsafe extern "C" fn(width: c_int, height: c_int, bgcolor: LCDColor) -> *mut LCDBitmap
sys::ffi::playdate_graphics::newBitmapSource§fn free_bitmap(&self) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap)
fn free_bitmap(&self) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap)
sys::ffi::playdate_graphics::freeBitmapSource§fn load_bitmap(
&self,
) -> unsafe extern "C" fn(path: *const c_char, outerr: *mut *const c_char) -> *mut LCDBitmap
fn load_bitmap( &self, ) -> unsafe extern "C" fn(path: *const c_char, outerr: *mut *const c_char) -> *mut LCDBitmap
sys::ffi::playdate_graphics::loadBitmapSource§fn copy_bitmap(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap) -> *mut LCDBitmap
fn copy_bitmap( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap) -> *mut LCDBitmap
sys::ffi::playdate_graphics::copyBitmapSource§fn load_into_bitmap(
&self,
) -> unsafe extern "C" fn(path: *const c_char, bitmap: *mut LCDBitmap, out_err: *mut *const c_char)
fn load_into_bitmap( &self, ) -> unsafe extern "C" fn(path: *const c_char, bitmap: *mut LCDBitmap, out_err: *mut *const c_char)
sys::ffi::playdate_graphics::loadIntoBitmapSource§fn get_bitmap_data(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, width: *mut c_int, height: *mut c_int, row_bytes: *mut c_int, mask: *mut *mut u8, data: *mut *mut u8)
fn get_bitmap_data( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, width: *mut c_int, height: *mut c_int, row_bytes: *mut c_int, mask: *mut *mut u8, data: *mut *mut u8)
sys::ffi::playdate_graphics::getBitmapDataSource§fn clear_bitmap(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, bgcolor: LCDColor)
fn clear_bitmap( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, bgcolor: LCDColor)
sys::ffi::playdate_graphics::clearBitmapSource§fn rotated_bitmap(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, rotation: c_float, x_scale: c_float, y_scale: c_float, allocedSize: *mut c_int) -> *mut LCDBitmap
fn rotated_bitmap( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, rotation: c_float, x_scale: c_float, y_scale: c_float, allocedSize: *mut c_int) -> *mut LCDBitmap
sys::ffi::playdate_graphics::rotatedBitmapSource§fn set_bitmap_mask(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, mask: *mut LCDBitmap) -> c_int
fn set_bitmap_mask( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, mask: *mut LCDBitmap) -> c_int
sys::ffi::playdate_graphics::setBitmapMaskSource§fn get_bitmap_mask(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap) -> *mut LCDBitmap
fn get_bitmap_mask( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap) -> *mut LCDBitmap
sys::ffi::playdate_graphics::getBitmapMaskSource§fn draw_bitmap(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int, flip: LCDBitmapFlip)
fn draw_bitmap( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int, flip: LCDBitmapFlip)
sys::ffi::playdate_graphics::drawBitmapSource§fn tile_bitmap(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int, width: c_int, height: c_int, flip: LCDBitmapFlip)
fn tile_bitmap( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int, width: c_int, height: c_int, flip: LCDBitmapFlip)
sys::ffi::playdate_graphics::tileBitmapSource§fn draw_rotated_bitmap(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int, rotation: c_float, center_x: c_float, center_y: c_float, x_scale: c_float, y_scale: c_float)
fn draw_rotated_bitmap( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int, rotation: c_float, center_x: c_float, center_y: c_float, x_scale: c_float, y_scale: c_float)
sys::ffi::playdate_graphics::drawRotatedBitmapSource§fn draw_scaled_bitmap(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int, x_scale: c_float, y_scale: c_float)
fn draw_scaled_bitmap( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int, x_scale: c_float, y_scale: c_float)
sys::ffi::playdate_graphics::drawScaledBitmapSource§fn check_mask_collision(
&self,
) -> unsafe extern "C" fn(bitmap1: *mut LCDBitmap, x1: c_int, y1: c_int, flip1: LCDBitmapFlip, bitmap2: *mut LCDBitmap, x2: c_int, y2: c_int, flip2: LCDBitmapFlip, rect: LCDRect) -> c_int
fn check_mask_collision( &self, ) -> unsafe extern "C" fn(bitmap1: *mut LCDBitmap, x1: c_int, y1: c_int, flip1: LCDBitmapFlip, bitmap2: *mut LCDBitmap, x2: c_int, y2: c_int, flip2: LCDBitmapFlip, rect: LCDRect) -> c_int
sys::ffi::playdate_graphics::checkMaskCollisionSource§fn set_color_to_pattern(
&self,
) -> unsafe extern "C" fn(color: *mut LCDColor, bitmap: *mut LCDBitmap, x: c_int, y: c_int)
fn set_color_to_pattern( &self, ) -> unsafe extern "C" fn(color: *mut LCDColor, bitmap: *mut LCDBitmap, x: c_int, y: c_int)
sys::ffi::playdate_graphics::setColorToPatternSource§fn get_pixel(
&self,
) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int) -> LCDSolidColor
fn get_pixel( &self, ) -> unsafe extern "C" fn(bitmap: *mut LCDBitmap, x: c_int, y: c_int) -> LCDSolidColor
sys::ffi::playdate_graphics::getBitmapPixelSource§impl Api for Cache
impl Api for Cache
Source§fn video<VApi: Api + From<*const playdate_video>>(&self) -> VApi
fn video<VApi: Api + From<*const playdate_video>>(&self) -> VApi
Equivalent to sys::ffi::playdate_graphics::video
Source§fn clear(&self) -> unsafe extern "C" fn(color: LCDColor)
fn clear(&self) -> unsafe extern "C" fn(color: LCDColor)
Equivalent to sys::ffi::playdate_graphics::clear
Source§fn set_background_color(&self) -> unsafe extern "C" fn(color: LCDSolidColor)
fn set_background_color(&self) -> unsafe extern "C" fn(color: LCDSolidColor)
Equivalent to sys::ffi::playdate_graphics::setBackgroundColor
Source§fn set_stencil(&self) -> unsafe extern "C" fn(stencil: *mut LCDBitmap)
fn set_stencil(&self) -> unsafe extern "C" fn(stencil: *mut LCDBitmap)
Equivalent to sys::ffi::playdate_graphics::setStencil
Source§fn set_draw_mode(
&self,
) -> unsafe extern "C" fn(mode: LCDBitmapDrawMode) -> LCDBitmapDrawMode
fn set_draw_mode( &self, ) -> unsafe extern "C" fn(mode: LCDBitmapDrawMode) -> LCDBitmapDrawMode
Equivalent to sys::ffi::playdate_graphics::setDrawMode
Source§fn set_draw_offset(&self) -> unsafe extern "C" fn(dx: c_int, dy: c_int)
fn set_draw_offset(&self) -> unsafe extern "C" fn(dx: c_int, dy: c_int)
Equivalent to sys::ffi::playdate_graphics::setDrawOffset
Source§fn set_clip_rect(
&self,
) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int)
fn set_clip_rect( &self, ) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int)
Equivalent to sys::ffi::playdate_graphics::setClipRect
Source§fn clear_clip_rect(&self) -> unsafe extern "C" fn()
fn clear_clip_rect(&self) -> unsafe extern "C" fn()
Equivalent to sys::ffi::playdate_graphics::clearClipRect
Source§fn set_line_cap_style(
&self,
) -> unsafe extern "C" fn(endCapStyle: LCDLineCapStyle)
fn set_line_cap_style( &self, ) -> unsafe extern "C" fn(endCapStyle: LCDLineCapStyle)
Equivalent to sys::ffi::playdate_graphics::setLineCapStyle
Source§fn push_context(&self) -> unsafe extern "C" fn(target: *mut LCDBitmap)
fn push_context(&self) -> unsafe extern "C" fn(target: *mut LCDBitmap)
Equivalent to sys::ffi::playdate_graphics::pushContext
Source§fn pop_context(&self) -> unsafe extern "C" fn()
fn pop_context(&self) -> unsafe extern "C" fn()
Equivalent to sys::ffi::playdate_graphics::popContext
Source§fn draw_line(
&self,
) -> unsafe extern "C" fn(x1: c_int, y1: c_int, x2: c_int, y2: c_int, width: c_int, color: LCDColor)
fn draw_line( &self, ) -> unsafe extern "C" fn(x1: c_int, y1: c_int, x2: c_int, y2: c_int, width: c_int, color: LCDColor)
Equivalent to sys::ffi::playdate_graphics::drawLine
Source§fn fill_triangle(
&self,
) -> unsafe extern "C" fn(x1: c_int, y1: c_int, x2: c_int, y2: c_int, x3: c_int, y3: c_int, color: LCDColor)
fn fill_triangle( &self, ) -> unsafe extern "C" fn(x1: c_int, y1: c_int, x2: c_int, y2: c_int, x3: c_int, y3: c_int, color: LCDColor)
Equivalent to sys::ffi::playdate_graphics::fillTriangle
Source§fn draw_rect(
&self,
) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int, color: LCDColor)
fn draw_rect( &self, ) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int, color: LCDColor)
Equivalent to sys::ffi::playdate_graphics::drawRect
Source§fn fill_rect(
&self,
) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int, color: LCDColor)
fn fill_rect( &self, ) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int, color: LCDColor)
Equivalent to sys::ffi::playdate_graphics::fillRect
Source§fn draw_ellipse(
&self,
) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int, lineWidth: c_int, startAngle: c_float, endAngle: c_float, color: LCDColor)
fn draw_ellipse( &self, ) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int, lineWidth: c_int, startAngle: c_float, endAngle: c_float, color: LCDColor)
Equivalent to sys::ffi::playdate_graphics::drawEllipse
Source§fn fill_ellipse(
&self,
) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int, startAngle: c_float, endAngle: c_float, color: LCDColor)
fn fill_ellipse( &self, ) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int, startAngle: c_float, endAngle: c_float, color: LCDColor)
Equivalent to sys::ffi::playdate_graphics::fillEllipse
Source§fn set_pixel(&self) -> unsafe extern "C" fn(x: c_int, y: c_int, c: LCDColor)
fn set_pixel(&self) -> unsafe extern "C" fn(x: c_int, y: c_int, c: LCDColor)
Equivalent to sys::ffi::playdate_graphics::setPixel
Source§fn get_frame(&self) -> unsafe extern "C" fn() -> *mut u8
fn get_frame(&self) -> unsafe extern "C" fn() -> *mut u8
Equivalent to sys::ffi::playdate_graphics::getFrame
Source§fn get_display_frame(&self) -> unsafe extern "C" fn() -> *mut u8
fn get_display_frame(&self) -> unsafe extern "C" fn() -> *mut u8
Equivalent to sys::ffi::playdate_graphics::getDisplayFrame
Source§fn get_debug_bitmap(&self) -> Option<unsafe extern "C" fn() -> *mut LCDBitmap>
fn get_debug_bitmap(&self) -> Option<unsafe extern "C" fn() -> *mut LCDBitmap>
Equivalent to sys::ffi::playdate_graphics::getDebugBitmap
Source§fn copy_frame_buffer_bitmap(&self) -> unsafe extern "C" fn() -> *mut LCDBitmap
fn copy_frame_buffer_bitmap(&self) -> unsafe extern "C" fn() -> *mut LCDBitmap
Equivalent to sys::ffi::playdate_graphics::copyFrameBufferBitmap
Source§fn mark_updated_rows(&self) -> unsafe extern "C" fn(start: c_int, end: c_int)
fn mark_updated_rows(&self) -> unsafe extern "C" fn(start: c_int, end: c_int)
Equivalent to sys::ffi::playdate_graphics::markUpdatedRows
Source§fn display(&self) -> unsafe extern "C" fn()
fn display(&self) -> unsafe extern "C" fn()
Equivalent to sys::ffi::playdate_graphics::display
Source§fn set_screen_clip_rect(
&self,
) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int)
fn set_screen_clip_rect( &self, ) -> unsafe extern "C" fn(x: c_int, y: c_int, width: c_int, height: c_int)
Equivalent to sys::ffi::playdate_graphics::setScreenClipRect
Source§fn fill_polygon(
&self,
) -> unsafe extern "C" fn(nPoints: c_int, coords: *mut c_int, color: LCDColor, fillrule: LCDPolygonFillRule)
fn fill_polygon( &self, ) -> unsafe extern "C" fn(nPoints: c_int, coords: *mut c_int, color: LCDColor, fillrule: LCDPolygonFillRule)
Equivalent to sys::ffi::playdate_graphics::fillPolygon
Source§fn get_display_buffer_bitmap(&self) -> unsafe extern "C" fn() -> *mut LCDBitmap
fn get_display_buffer_bitmap(&self) -> unsafe extern "C" fn() -> *mut LCDBitmap
Equivalent to sys::ffi::playdate_graphics::getDisplayBufferBitmap
Source§fn set_stencil_image(
&self,
) -> unsafe extern "C" fn(stencil: *mut LCDBitmap, tile: c_int)
fn set_stencil_image( &self, ) -> unsafe extern "C" fn(stencil: *mut LCDBitmap, tile: c_int)
Equivalent to sys::ffi::playdate_graphics::setStencilImage
Source§impl From<&NonNull<playdate_graphics>> for Cache
impl From<&NonNull<playdate_graphics>> for Cache
Source§fn from(ptr: &NonNull<playdate_graphics>) -> Self
fn from(ptr: &NonNull<playdate_graphics>) -> Self
Source§impl From<&'static playdate_graphics> for Cache
impl From<&'static playdate_graphics> for Cache
Source§fn from(r: &'static playdate_graphics) -> Self
fn from(r: &'static playdate_graphics) -> Self
Source§impl From<*const playdate_graphics> for Cache
impl From<*const playdate_graphics> for Cache
Source§fn from(ptr: *const playdate_graphics) -> Self
fn from(ptr: *const playdate_graphics) -> Self
Source§impl From<NonNull<playdate_graphics>> for Cache
impl From<NonNull<playdate_graphics>> for Cache
Source§fn from(ptr: NonNull<playdate_graphics>) -> Self
fn from(ptr: NonNull<playdate_graphics>) -> Self
impl Copy for Cache
Auto Trait Implementations§
impl Freeze for Cache
impl RefUnwindSafe for Cache
impl !Send for Cache
impl !Sync for Cache
impl Unpin for Cache
impl UnwindSafe for Cache
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§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: 4 bytes