Enum llama_cpp_sys::ggml_op_pool
source · #[non_exhaustive]#[repr(u32)]pub enum ggml_op_pool {
GGML_OP_POOL_MAX = 0,
GGML_OP_POOL_AVG = 1,
GGML_OP_POOL_COUNT = 2,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for ggml_op_pool
impl Clone for ggml_op_pool
source§fn clone(&self) -> ggml_op_pool
fn clone(&self) -> ggml_op_pool
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ggml_op_pool
impl Debug for ggml_op_pool
source§impl Hash for ggml_op_pool
impl Hash for ggml_op_pool
source§impl PartialEq for ggml_op_pool
impl PartialEq for ggml_op_pool
source§fn eq(&self, other: &ggml_op_pool) -> bool
fn eq(&self, other: &ggml_op_pool) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ggml_op_pool
impl Eq for ggml_op_pool
impl StructuralPartialEq for ggml_op_pool
Auto Trait Implementations§
impl Freeze for ggml_op_pool
impl RefUnwindSafe for ggml_op_pool
impl Send for ggml_op_pool
impl Sync for ggml_op_pool
impl Unpin for ggml_op_pool
impl UnwindSafe for ggml_op_pool
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