#[repr(C)]pub struct shape_desc {
pub name: *mut c_char,
pub fns: *mut shape_functions,
pub polygon: *mut polygon_t,
pub usershape: boolean,
}Fields§
§name: *mut c_char§fns: *mut shape_functions§polygon: *mut polygon_t§usershape: booleanTrait Implementations§
Source§impl Clone for shape_desc
impl Clone for shape_desc
Source§fn clone(&self) -> shape_desc
fn clone(&self) -> shape_desc
Returns a duplicate 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 Debug for shape_desc
impl Debug for shape_desc
impl Copy for shape_desc
Auto Trait Implementations§
impl Freeze for shape_desc
impl RefUnwindSafe for shape_desc
impl !Send for shape_desc
impl !Sync for shape_desc
impl Unpin for shape_desc
impl UnwindSafe for shape_desc
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