#[repr(C)]pub struct MacosFfiBuffer {
pub ptr: *mut u8,
pub len: usize,
pub capacity: usize,
}Expand description
Owned byte allocation returned to Swift. Release exactly once with
aster_forge_cloud_files_macos_buffer_release.
Fields§
§ptr: *mut u8Allocation base, or null for an empty buffer.
len: usizeLogical initialized length.
capacity: usizeAllocation capacity required for exact reconstruction during release.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MacosFfiBuffer
impl RefUnwindSafe for MacosFfiBuffer
impl !Send for MacosFfiBuffer
impl !Sync for MacosFfiBuffer
impl Unpin for MacosFfiBuffer
impl UnwindSafe for MacosFfiBuffer
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