pub enum ExternalEvent {
Bind {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
Copy {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
Move {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
StaticBorrow {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
MutableBorrow {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
StaticDie {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
MutableDie {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
PassByStaticReference {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
PassByMutableReference {
from: Option<ResourceAccessPoint>,
to: Option<ResourceAccessPoint>,
},
GoOutOfScope {
ro: ResourceAccessPoint,
},
InitRefParam {
param: ResourceAccessPoint,
},
}
Variants§
Bind
Copy
Move
StaticBorrow
MutableBorrow
StaticDie
MutableDie
PassByStaticReference
PassByMutableReference
GoOutOfScope
Fields
InitRefParam
Fields
§
param: ResourceAccessPoint
Trait Implementations§
Source§impl Clone for ExternalEvent
impl Clone for ExternalEvent
Source§fn clone(&self) -> ExternalEvent
fn clone(&self) -> ExternalEvent
Returns a duplicate 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 ExternalEvent
impl Debug for ExternalEvent
Source§impl Hash for ExternalEvent
impl Hash for ExternalEvent
Source§impl PartialEq for ExternalEvent
impl PartialEq for ExternalEvent
impl Eq for ExternalEvent
impl StructuralPartialEq for ExternalEvent
Auto Trait Implementations§
impl Freeze for ExternalEvent
impl RefUnwindSafe for ExternalEvent
impl Send for ExternalEvent
impl Sync for ExternalEvent
impl Unpin for ExternalEvent
impl UnwindSafe for ExternalEvent
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