pub struct PwQPolynomialList {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}
Expand description
Wraps isl_pw_qpolynomial_list
.
Fields§
§ptr: uintptr_t
§should_free_on_drop: bool
Implementations§
Source§impl PwQPolynomialList
impl PwQPolynomialList
Sourcepub fn concat(self, list2: PwQPolynomialList) -> PwQPolynomialList
pub fn concat(self, list2: PwQPolynomialList) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_concat
.
Sourcepub fn set_pw_qpolynomial(
self,
index: i32,
el: PwQPolynomial,
) -> PwQPolynomialList
pub fn set_pw_qpolynomial( self, index: i32, el: PwQPolynomial, ) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_set_pw_qpolynomial
.
Sourcepub fn clear(self) -> PwQPolynomialList
pub fn clear(self) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_clear
.
Sourcepub fn get_pw_qpolynomial(&self, index: i32) -> PwQPolynomial
pub fn get_pw_qpolynomial(&self, index: i32) -> PwQPolynomial
Wraps isl_pw_qpolynomial_list_get_pw_qpolynomial
.
Sourcepub fn reverse(self) -> PwQPolynomialList
pub fn reverse(self) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_reverse
.
Sourcepub fn swap(self, pos1: u32, pos2: u32) -> PwQPolynomialList
pub fn swap(self, pos1: u32, pos2: u32) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_swap
.
Sourcepub fn set_at(self, index: i32, el: PwQPolynomial) -> PwQPolynomialList
pub fn set_at(self, index: i32, el: PwQPolynomial) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_set_at
.
Sourcepub fn drop(self, first: u32, n: u32) -> PwQPolynomialList
pub fn drop(self, first: u32, n: u32) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_drop
.
Sourcepub fn n_pw_qpolynomial(&self) -> i32
pub fn n_pw_qpolynomial(&self) -> i32
Wraps isl_pw_qpolynomial_list_n_pw_qpolynomial
.
Sourcepub fn alloc(ctx: &Context, n: i32) -> PwQPolynomialList
pub fn alloc(ctx: &Context, n: i32) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_alloc
.
Sourcepub fn free(self) -> PwQPolynomialList
pub fn free(self) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_free
.
Sourcepub fn insert(self, pos: u32, el: PwQPolynomial) -> PwQPolynomialList
pub fn insert(self, pos: u32, el: PwQPolynomial) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_insert
.
Sourcepub fn get_at(&self, index: i32) -> PwQPolynomial
pub fn get_at(&self, index: i32) -> PwQPolynomial
Wraps isl_pw_qpolynomial_list_get_at
.
Sourcepub fn add(self, el: PwQPolynomial) -> PwQPolynomialList
pub fn add(self, el: PwQPolynomial) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_add
.
Sourcepub fn copy(&self) -> PwQPolynomialList
pub fn copy(&self) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_copy
.
Sourcepub fn from_pw_qpolynomial(el: PwQPolynomial) -> PwQPolynomialList
pub fn from_pw_qpolynomial(el: PwQPolynomial) -> PwQPolynomialList
Wraps isl_pw_qpolynomial_list_from_pw_qpolynomial
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_pw_qpolynomial_list_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PwQPolynomialList
impl RefUnwindSafe for PwQPolynomialList
impl Send for PwQPolynomialList
impl Sync for PwQPolynomialList
impl Unpin for PwQPolynomialList
impl UnwindSafe for PwQPolynomialList
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