Struct tensorflow_sys::TF_Buffer
source · #[repr(C)]pub struct TF_Buffer {
pub data: *const c_void,
pub length: usize,
pub data_deallocator: Option<unsafe extern "C" fn(data: *mut c_void, length: usize)>,
}
Fields§
§data: *const c_void
§length: usize
§data_deallocator: Option<unsafe extern "C" fn(data: *mut c_void, length: usize)>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TF_Buffer
impl !Send for TF_Buffer
impl !Sync for TF_Buffer
impl Unpin for TF_Buffer
impl UnwindSafe for TF_Buffer
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