pub struct IREffectDeclaration {
pub node_type: &'static str,
pub source_line: u32,
pub source_column: u32,
pub name: String,
pub operations: Vec<IREffectOperation>,
}Fields§
§node_type: &'static str§source_line: u32§source_column: u32§name: String§operations: Vec<IREffectOperation>Implementations§
Source§impl IREffectDeclaration
impl IREffectDeclaration
pub fn new() -> IREffectDeclaration
Trait Implementations§
Source§impl Debug for IREffectDeclaration
impl Debug for IREffectDeclaration
Source§impl Default for IREffectDeclaration
impl Default for IREffectDeclaration
Source§fn default() -> IREffectDeclaration
fn default() -> IREffectDeclaration
Returns the “default value” for a type. Read more
Source§impl Serialize for IREffectDeclaration
impl Serialize for IREffectDeclaration
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IREffectDeclaration
impl RefUnwindSafe for IREffectDeclaration
impl Send for IREffectDeclaration
impl Sync for IREffectDeclaration
impl Unpin for IREffectDeclaration
impl UnsafeUnpin for IREffectDeclaration
impl UnwindSafe for IREffectDeclaration
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.