Struct cairo_lang_semantic::expr::objects::ExprFixedSizeArray
source · pub struct ExprFixedSizeArray {
pub items: Vec<ExprId>,
pub ty: TypeId,
pub stable_ptr: ExprPtr,
}Fields§
§items: Vec<ExprId>§ty: TypeId§stable_ptr: ExprPtrTrait Implementations§
source§impl Clone for ExprFixedSizeArray
impl Clone for ExprFixedSizeArray
source§fn clone(&self) -> ExprFixedSizeArray
fn clone(&self) -> ExprFixedSizeArray
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 ExprFixedSizeArray
impl Debug for ExprFixedSizeArray
source§impl<'a, T: ?Sized + Upcast<ExprFormatter<'a>>> DebugWithDb<T> for ExprFixedSizeArray
impl<'a, T: ?Sized + Upcast<ExprFormatter<'a>>> DebugWithDb<T> for ExprFixedSizeArray
source§impl Hash for ExprFixedSizeArray
impl Hash for ExprFixedSizeArray
source§impl PartialEq for ExprFixedSizeArray
impl PartialEq for ExprFixedSizeArray
source§fn eq(&self, other: &ExprFixedSizeArray) -> bool
fn eq(&self, other: &ExprFixedSizeArray) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T: SemanticRewriter<Vec<ExprId>, Error> + SemanticRewriter<TypeId, Error>, Error> SemanticObject<T, Error> for ExprFixedSizeArray
impl<T: SemanticRewriter<Vec<ExprId>, Error> + SemanticRewriter<TypeId, Error>, Error> SemanticObject<T, Error> for ExprFixedSizeArray
fn default_rewrite(self, rewriter: &mut T) -> Result<Self, Error>
source§impl<'a> SemanticRewriter<ExprFixedSizeArray, NoError> for Inference<'a>
impl<'a> SemanticRewriter<ExprFixedSizeArray, NoError> for Inference<'a>
fn rewrite( &mut self, value: ExprFixedSizeArray, ) -> Result<ExprFixedSizeArray, NoError>
impl Eq for ExprFixedSizeArray
impl StructuralPartialEq for ExprFixedSizeArray
Auto Trait Implementations§
impl Freeze for ExprFixedSizeArray
impl RefUnwindSafe for ExprFixedSizeArray
impl Send for ExprFixedSizeArray
impl Sync for ExprFixedSizeArray
impl Unpin for ExprFixedSizeArray
impl UnwindSafe for ExprFixedSizeArray
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 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§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<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