Struct halide_runtime::runtime::halide_buffer_t
source · [−]#[repr(C)]pub struct halide_buffer_t {
pub device: u64,
pub device_interface: *const halide_device_interface_t,
pub host: *mut u8,
pub flags: u64,
pub type_: halide_type_t,
pub dimensions: i32,
pub dim: *mut halide_dimension_t,
pub padding: *mut c_void,
}
Fields
device: u64
device_interface: *const halide_device_interface_t
host: *mut u8
flags: u64
type_: halide_type_t
dimensions: i32
dim: *mut halide_dimension_t
padding: *mut c_void
Trait Implementations
sourceimpl Clone for halide_buffer_t
impl Clone for halide_buffer_t
sourcefn clone(&self) -> halide_buffer_t
fn clone(&self) -> halide_buffer_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for halide_buffer_t
impl Debug for halide_buffer_t
sourceimpl<'a> From<&'a halide_buffer_t> for Buffer<'a>
impl<'a> From<&'a halide_buffer_t> for Buffer<'a>
sourcefn from(buf: &'a halide_buffer_t) -> Buffer<'_>
fn from(buf: &'a halide_buffer_t) -> Buffer<'_>
Converts to this type from the input type.
impl Copy for halide_buffer_t
Auto Trait Implementations
impl RefUnwindSafe for halide_buffer_t
impl !Send for halide_buffer_t
impl !Sync for halide_buffer_t
impl Unpin for halide_buffer_t
impl UnwindSafe for halide_buffer_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more