pub struct MirTerminator {
pub kind: MirTerminatorKind,
pub span: Span,
}Fields§
§kind: MirTerminatorKind§span: SpanTrait Implementations§
Source§impl Clone for MirTerminator
impl Clone for MirTerminator
Source§fn clone(&self) -> MirTerminator
fn clone(&self) -> MirTerminator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MirTerminator
impl Debug for MirTerminator
Source§impl<'de> Deserialize<'de> for MirTerminator
impl<'de> Deserialize<'de> for MirTerminator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MirTerminator
impl PartialEq for MirTerminator
Source§fn eq(&self, other: &MirTerminator) -> bool
fn eq(&self, other: &MirTerminator) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MirTerminator
impl Serialize for MirTerminator
impl StructuralPartialEq for MirTerminator
Auto Trait Implementations§
impl Freeze for MirTerminator
impl RefUnwindSafe for MirTerminator
impl Send for MirTerminator
impl Sync for MirTerminator
impl Unpin for MirTerminator
impl UnsafeUnpin for MirTerminator
impl UnwindSafe for MirTerminator
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