pub struct FixedBox {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}
Expand description
Wraps isl_fixed_box
.
Fields§
§ptr: uintptr_t
§should_free_on_drop: bool
Implementations§
Source§impl FixedBox
impl FixedBox
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> FixedBox
pub fn read_from_str(ctx: &Context, str_: &str) -> FixedBox
Wraps isl_fixed_box_read_from_str
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_xxx_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixedBox
impl RefUnwindSafe for FixedBox
impl Send for FixedBox
impl Sync for FixedBox
impl Unpin for FixedBox
impl UnwindSafe for FixedBox
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