pub enum ArrayFunctionSignature {
Array {
arguments: Vec<ArrayFunctionArgument>,
array_coercion: Option<ListCoercion>,
},
RecursiveArray,
MapArray,
}
Variants§
Array
A function takes at least one List/LargeList/FixedSizeList argument.
Fields
§
arguments: Vec<ArrayFunctionArgument>
A full list of the arguments accepted by this function.
§
array_coercion: Option<ListCoercion>
Additional information about how array arguments should be coerced.
RecursiveArray
A function takes a single argument that must be a List/LargeList/FixedSizeList which gets coerced to List, with element type recursively coerced to List too if it is list-like.
MapArray
Specialized Signature for MapArray The function takes a single argument that must be a MapArray
Trait Implementations§
Source§impl Clone for ArrayFunctionSignature
impl Clone for ArrayFunctionSignature
Source§fn clone(&self) -> ArrayFunctionSignature
fn clone(&self) -> ArrayFunctionSignature
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 ArrayFunctionSignature
impl Debug for ArrayFunctionSignature
Source§impl Display for ArrayFunctionSignature
impl Display for ArrayFunctionSignature
Source§impl Hash for ArrayFunctionSignature
impl Hash for ArrayFunctionSignature
Source§impl PartialEq for ArrayFunctionSignature
impl PartialEq for ArrayFunctionSignature
Source§impl PartialOrd for ArrayFunctionSignature
impl PartialOrd for ArrayFunctionSignature
impl Eq for ArrayFunctionSignature
impl StructuralPartialEq for ArrayFunctionSignature
Auto Trait Implementations§
impl Freeze for ArrayFunctionSignature
impl RefUnwindSafe for ArrayFunctionSignature
impl Send for ArrayFunctionSignature
impl Sync for ArrayFunctionSignature
impl Unpin for ArrayFunctionSignature
impl UnwindSafe for ArrayFunctionSignature
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more