#[repr(C)]pub struct msdfgen_BitmapConstRef<T> {
pub pixels: *mut T,
pub w: c_int,
pub h: c_int,
pub _phantom_0: PhantomData<UnsafeCell<T>>,
}
Expand description
Fields§
§pixels: *mut T
§w: c_int
§h: c_int
§_phantom_0: PhantomData<UnsafeCell<T>>
Trait Implementations§
Source§impl<T: Clone> Clone for msdfgen_BitmapConstRef<T>
impl<T: Clone> Clone for msdfgen_BitmapConstRef<T>
Source§fn clone(&self) -> msdfgen_BitmapConstRef<T>
fn clone(&self) -> msdfgen_BitmapConstRef<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for msdfgen_BitmapConstRef<T>
impl<T: Debug> Debug for msdfgen_BitmapConstRef<T>
impl<T: Copy> Copy for msdfgen_BitmapConstRef<T>
Auto Trait Implementations§
impl<T> Freeze for msdfgen_BitmapConstRef<T>
impl<T> !RefUnwindSafe for msdfgen_BitmapConstRef<T>
impl<T> !Send for msdfgen_BitmapConstRef<T>
impl<T> !Sync for msdfgen_BitmapConstRef<T>
impl<T> Unpin for msdfgen_BitmapConstRef<T>where
T: Unpin,
impl<T> UnwindSafe for msdfgen_BitmapConstRef<T>where
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more