pub enum EntrypointOrigin {
ProjectDeclared,
SourcePath,
ReplSubmission,
NotebookCell,
HostSynthetic,
}Variants§
Trait Implementations§
Source§impl Clone for EntrypointOrigin
impl Clone for EntrypointOrigin
Source§fn clone(&self) -> EntrypointOrigin
fn clone(&self) -> EntrypointOrigin
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 EntrypointOrigin
impl Debug for EntrypointOrigin
Source§impl<'de> Deserialize<'de> for EntrypointOrigin
impl<'de> Deserialize<'de> for EntrypointOrigin
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 EntrypointOrigin
impl PartialEq for EntrypointOrigin
Source§fn eq(&self, other: &EntrypointOrigin) -> bool
fn eq(&self, other: &EntrypointOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EntrypointOrigin
impl Serialize for EntrypointOrigin
impl StructuralPartialEq for EntrypointOrigin
Auto Trait Implementations§
impl Freeze for EntrypointOrigin
impl RefUnwindSafe for EntrypointOrigin
impl Send for EntrypointOrigin
impl Sync for EntrypointOrigin
impl Unpin for EntrypointOrigin
impl UnsafeUnpin for EntrypointOrigin
impl UnwindSafe for EntrypointOrigin
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