pub struct TyUser { /* private fields */ }
Expand description
Type description for arbitrary type.
Implementations§
source§impl TyUser
impl TyUser
sourcepub fn new(
name: String,
base: TyStarlarkValue,
id: TypeInstanceId,
params: TyUserParams
) -> Result<TyUser>
pub fn new( name: String, base: TyStarlarkValue, id: TypeInstanceId, params: TyUserParams ) -> Result<TyUser>
Constructor.
Trait Implementations§
source§impl Allocative for TyUser
impl Allocative for TyUser
source§impl Ord for TyUser
impl Ord for TyUser
source§impl PartialEq for TyUser
impl PartialEq for TyUser
source§impl PartialOrd for TyUser
impl PartialOrd for TyUser
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 TyUser
Auto Trait Implementations§
impl !RefUnwindSafe for TyUser
impl Send for TyUser
impl Sync for TyUser
impl Unpin for TyUser
impl !UnwindSafe for TyUser
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.