Struct cairo_lang_sierra::ids::GenericLibfuncId
source · pub struct GenericLibfuncId(pub SmolStr);
Expand description
The identity of a generic library function
Tuple Fields§
§0: SmolStr
Implementations§
source§impl GenericLibfuncId
impl GenericLibfuncId
pub const fn new_inline(name: &'static str) -> Self
pub fn from_string(name: impl Into<SmolStr>) -> Self
Trait Implementations§
source§impl Clone for GenericLibfuncId
impl Clone for GenericLibfuncId
source§fn clone(&self) -> GenericLibfuncId
fn clone(&self) -> GenericLibfuncId
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 GenericLibfuncId
impl Debug for GenericLibfuncId
source§impl Display for GenericLibfuncId
impl Display for GenericLibfuncId
source§impl From<&str> for GenericLibfuncId
impl From<&str> for GenericLibfuncId
source§impl From<SmolStr> for GenericLibfuncId
impl From<SmolStr> for GenericLibfuncId
source§impl From<String> for GenericLibfuncId
impl From<String> for GenericLibfuncId
source§impl Hash for GenericLibfuncId
impl Hash for GenericLibfuncId
source§impl PartialEq for GenericLibfuncId
impl PartialEq for GenericLibfuncId
source§fn eq(&self, other: &GenericLibfuncId) -> bool
fn eq(&self, other: &GenericLibfuncId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GenericLibfuncId
impl StructuralEq for GenericLibfuncId
impl StructuralPartialEq for GenericLibfuncId
Auto Trait Implementations§
impl RefUnwindSafe for GenericLibfuncId
impl Send for GenericLibfuncId
impl Sync for GenericLibfuncId
impl Unpin for GenericLibfuncId
impl UnwindSafe for GenericLibfuncId
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.