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: u64device_interface: *const halide_device_interface_thost: *mut u8flags: u64type_: halide_type_tdimensions: i32dim: *mut halide_dimension_tpadding: *mut c_voidTrait 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 more
sourceimpl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more