pub struct ArrayOf<E>(/* private fields */);Expand description
Names a homogeneous array whose elements use witness E.
§Examples
use cel_runtime::value_type::{ArrayOf, Leaf, ValueRepr};
use cel_runtime::Array;
let _: <ArrayOf<Leaf<u8>> as ValueRepr>::Value = Array::from_vec(vec![1]);Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for ArrayOf<E>
impl<E> RefUnwindSafe for ArrayOf<E>
impl<E> Send for ArrayOf<E>
impl<E> Sync for ArrayOf<E>
impl<E> Unpin for ArrayOf<E>
impl<E> UnsafeUnpin for ArrayOf<E>
impl<E> UnwindSafe for ArrayOf<E>
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