pub struct ResultList(/* private fields */);Expand description
Function result list metadata.
Implementations§
Source§impl ResultList
impl ResultList
Sourcepub fn new(values: Vec<FunctionValueType>) -> Self
pub fn new(values: Vec<FunctionValueType>) -> Self
Creates a result list from value type labels.
Sourcepub fn as_slice(&self) -> &[FunctionValueType]
pub fn as_slice(&self) -> &[FunctionValueType]
Returns the result list as a slice.
Trait Implementations§
Source§impl Clone for ResultList
impl Clone for ResultList
Source§fn clone(&self) -> ResultList
fn clone(&self) -> ResultList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResultList
impl Debug for ResultList
Source§impl Default for ResultList
impl Default for ResultList
Source§fn default() -> ResultList
fn default() -> ResultList
Returns the “default value” for a type. Read more
Source§impl Hash for ResultList
impl Hash for ResultList
Source§impl PartialEq for ResultList
impl PartialEq for ResultList
Source§fn eq(&self, other: &ResultList) -> bool
fn eq(&self, other: &ResultList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResultList
impl StructuralPartialEq for ResultList
Auto Trait Implementations§
impl Freeze for ResultList
impl RefUnwindSafe for ResultList
impl Send for ResultList
impl Sync for ResultList
impl Unpin for ResultList
impl UnsafeUnpin for ResultList
impl UnwindSafe for ResultList
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