pub struct Default;Expand description
Default graphics api end-point, ZST.
All calls approximately costs ~3 derefs.
Trait Implementations§
Source§impl Api for Default
impl Api for Default
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
Equivalent to
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)
Equivalent to
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
Equivalent to
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
Equivalent to
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)
Equivalent to
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)
Equivalent to
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)
Equivalent to
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
Equivalent to
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
Equivalent to
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
Equivalent to
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)
Equivalent to
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)
Equivalent to
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)
Equivalent to
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)
Equivalent to
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
Equivalent to
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)
Equivalent to
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
Equivalent to
sys::ffi::playdate_graphics::getBitmapPixelSource§impl Api for Default
impl Api for Default
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
Equivalent to
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)
Equivalent to
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
Equivalent to
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)
Equivalent to
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
Equivalent to
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)
Equivalent to
sys::ffi::playdate_graphics::getBitmapTableInfoSource§impl Api for Default
impl Api for Default
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::drawTextSource§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)
Equivalent to
sys::ffi::playdate_graphics::drawTextInRectSource§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::getTextWidthSource§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::getFontHeightSource§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::setFontSource§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::setTextTrackingSource§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::getTextTrackingSource§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::getGlyphKerningSource§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::loadFontSource§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::getFontPageSource§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::getPageGlyphSource§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::makeFontFromDataSource§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::setTextLeadingSource§impl Api for Default
impl Api for Default
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::videoSource§fn clear(&self) -> unsafe extern "C" fn(color: LCDColor)
fn clear(&self) -> unsafe extern "C" fn(color: LCDColor)
Equivalent to
sys::ffi::playdate_graphics::clearSource§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::setBackgroundColorSource§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::setStencilSource§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::setDrawModeSource§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::setDrawOffsetSource§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::setClipRectSource§fn clear_clip_rect(&self) -> unsafe extern "C" fn()
fn clear_clip_rect(&self) -> unsafe extern "C" fn()
Equivalent to
sys::ffi::playdate_graphics::clearClipRectSource§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::setLineCapStyleSource§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::pushContextSource§fn pop_context(&self) -> unsafe extern "C" fn()
fn pop_context(&self) -> unsafe extern "C" fn()
Equivalent to
sys::ffi::playdate_graphics::popContextSource§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::drawLineSource§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::fillTriangleSource§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::drawRectSource§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::fillRectSource§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::drawEllipseSource§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::fillEllipseSource§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::setPixelSource§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::getFrameSource§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::getDisplayFrameSource§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::getDebugBitmapSource§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::copyFrameBufferBitmapSource§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::markUpdatedRowsSource§fn display(&self) -> unsafe extern "C" fn()
fn display(&self) -> unsafe extern "C" fn()
Equivalent to
sys::ffi::playdate_graphics::displaySource§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::setScreenClipRectSource§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::fillPolygonSource§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::getDisplayBufferBitmapSource§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::setStencilImageimpl Copy for Default
Auto Trait Implementations§
impl Freeze for Default
impl RefUnwindSafe for Default
impl Send for Default
impl Sync for Default
impl Unpin for Default
impl UnwindSafe for Default
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> 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)
🔬This is a nightly-only experimental API. (
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: 0 bytes