pub struct Vertices {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}
Expand description
Wraps isl_vertices
.
Fields§
§ptr: uintptr_t
§should_free_on_drop: bool
Implementations§
Source§impl Vertices
impl Vertices
Sourcepub fn get_n_vertices(&self) -> i32
pub fn get_n_vertices(&self) -> i32
Wraps isl_vertices_get_n_vertices
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_vertices_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vertices
impl RefUnwindSafe for Vertices
impl Send for Vertices
impl Sync for Vertices
impl Unpin for Vertices
impl UnwindSafe for Vertices
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