Struct jl_sys::bindings::jl_array_flags_t
source · #[repr(C, align(2))]pub struct jl_array_flags_t {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
}
Fields§
§_bitfield_align_1: [u16; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
Implementations§
source§impl jl_array_flags_t
impl jl_array_flags_t
pub fn how(&self) -> u16
pub fn set_how(&mut self, val: u16)
pub fn ndims(&self) -> u16
pub fn set_ndims(&mut self, val: u16)
pub fn pooled(&self) -> u16
pub fn set_pooled(&mut self, val: u16)
pub fn ptrarray(&self) -> u16
pub fn set_ptrarray(&mut self, val: u16)
pub fn hasptr(&self) -> u16
pub fn set_hasptr(&mut self, val: u16)
pub fn isaligned(&self) -> u16
pub fn set_isaligned(&mut self, val: u16)
pub fn new_bitfield_1( how: u16, ndims: u16, pooled: u16, ptrarray: u16, hasptr: u16, isshared: u16, isaligned: u16 ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
source§impl Clone for jl_array_flags_t
impl Clone for jl_array_flags_t
source§fn clone(&self) -> jl_array_flags_t
fn clone(&self) -> jl_array_flags_t
Returns a copy 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 jl_array_flags_t
impl Debug for jl_array_flags_t
impl Copy for jl_array_flags_t
Auto Trait Implementations§
impl RefUnwindSafe for jl_array_flags_t
impl Send for jl_array_flags_t
impl Sync for jl_array_flags_t
impl Unpin for jl_array_flags_t
impl UnwindSafe for jl_array_flags_t
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