Struct starlark::typing::TyFunction
source · pub struct TyFunction { /* private fields */ }
Expand description
A function.
Implementations§
Trait Implementations§
source§impl Allocative for TyFunction
impl Allocative for TyFunction
source§impl Clone for TyFunction
impl Clone for TyFunction
source§fn clone(&self) -> TyFunction
fn clone(&self) -> TyFunction
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 TyFunction
impl Debug for TyFunction
source§impl Display for TyFunction
impl Display for TyFunction
source§impl Hash for TyFunction
impl Hash for TyFunction
source§impl Ord for TyFunction
impl Ord for TyFunction
source§fn cmp(&self, other: &TyFunction) -> Ordering
fn cmp(&self, other: &TyFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TyFunction
impl PartialEq for TyFunction
source§fn eq(&self, other: &TyFunction) -> bool
fn eq(&self, other: &TyFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TyFunction
impl PartialOrd for TyFunction
source§fn partial_cmp(&self, other: &TyFunction) -> Option<Ordering>
fn partial_cmp(&self, other: &TyFunction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TyFunction
impl StructuralPartialEq for TyFunction
Auto Trait Implementations§
impl !RefUnwindSafe for TyFunction
impl Send for TyFunction
impl Sync for TyFunction
impl Unpin for TyFunction
impl !UnwindSafe for TyFunction
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.