#[repr(C)]pub struct fz_storable {
pub refs: c_int,
pub drop: fz_store_drop_fn,
pub droppable: fz_store_droppable_fn,
}Expand description
Any storable object should include an fz_storable structure
at the start (by convention at least) of their structure.
(Unless it starts with an fz_key_storable, see below).
Fields§
§refs: c_int§drop: fz_store_drop_fn§droppable: fz_store_droppable_fnTrait Implementations§
Source§impl Clone for fz_storable
impl Clone for fz_storable
Source§fn clone(&self) -> fz_storable
fn clone(&self) -> fz_storable
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 fz_storable
impl Debug for fz_storable
impl Copy for fz_storable
Auto Trait Implementations§
impl Freeze for fz_storable
impl RefUnwindSafe for fz_storable
impl Send for fz_storable
impl Sync for fz_storable
impl Unpin for fz_storable
impl UnwindSafe for fz_storable
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