Struct cairo_lang_lowering::inline::InlineInfo
source · pub struct InlineInfo {
pub is_inlinable: bool,
pub should_inline: bool,
}
Expand description
Per function information for the inlining phase.
Fields§
§is_inlinable: bool
Indicates that the function can be inlined.
should_inline: bool
Indicates that the function should be inlined.
Trait Implementations§
source§impl Debug for InlineInfo
impl Debug for InlineInfo
source§impl PartialEq<InlineInfo> for InlineInfo
impl PartialEq<InlineInfo> for InlineInfo
source§fn eq(&self, other: &InlineInfo) -> bool
fn eq(&self, other: &InlineInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InlineInfo
impl StructuralEq for InlineInfo
impl StructuralPartialEq for InlineInfo
Auto Trait Implementations§
impl RefUnwindSafe for InlineInfo
impl Send for InlineInfo
impl Sync for InlineInfo
impl Unpin for InlineInfo
impl UnwindSafe for InlineInfo
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.