Struct esp_idf_sys::lldesc_s
source · [−]#[repr(C)]pub struct lldesc_s {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub buf: *const u8,
pub __bindgen_anon_1: lldesc_s__bindgen_ty_1,
}
Fields
_bitfield_align_1: [u16; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
buf: *const u8
__bindgen_anon_1: lldesc_s__bindgen_ty_1
Implementations
sourceimpl lldesc_s
impl lldesc_s
pub fn size(&self) -> u32
pub fn set_size(&mut self, val: u32)
pub fn length(&self) -> u32
pub fn set_length(&mut self, val: u32)
pub fn offset(&self) -> u32
pub fn set_offset(&mut self, val: u32)
pub fn sosf(&self) -> u32
pub fn set_sosf(&mut self, val: u32)
pub fn eof(&self) -> u32
pub fn set_eof(&mut self, val: u32)
pub fn owner(&self) -> u32
pub fn set_owner(&mut self, val: u32)
pub fn new_bitfield_1(
size: u32,
length: u32,
offset: u32,
sosf: u32,
eof: u32,
owner: u32
) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for lldesc_s
impl !Send for lldesc_s
impl !Sync for lldesc_s
impl Unpin for lldesc_s
impl UnwindSafe for lldesc_s
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more