pub struct UnacquiredPythonEnvironment;Expand description
An environment that has acquired nothing. Every boundary is unknown, which is the honest answer for an analyzer no host has activated packs on.
Trait Implementations§
Source§impl Clone for UnacquiredPythonEnvironment
impl Clone for UnacquiredPythonEnvironment
Source§fn clone(&self) -> UnacquiredPythonEnvironment
fn clone(&self) -> UnacquiredPythonEnvironment
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 moreimpl Copy for UnacquiredPythonEnvironment
Source§impl Debug for UnacquiredPythonEnvironment
impl Debug for UnacquiredPythonEnvironment
Source§impl Default for UnacquiredPythonEnvironment
impl Default for UnacquiredPythonEnvironment
Source§fn default() -> UnacquiredPythonEnvironment
fn default() -> UnacquiredPythonEnvironment
Returns the “default value” for a type. Read more
Source§impl PythonEnvironmentSurface for UnacquiredPythonEnvironment
impl PythonEnvironmentSurface for UnacquiredPythonEnvironment
Source§fn module_boundary(&self, _module_path: &str) -> PythonEnvironmentBoundary
fn module_boundary(&self, _module_path: &str) -> PythonEnvironmentBoundary
Classify the module a namespace import names (
import a.b).Source§fn attribute_boundary(
&self,
_owner_path: &str,
_member: &str,
) -> PythonEnvironmentBoundary
fn attribute_boundary( &self, _owner_path: &str, _member: &str, ) -> PythonEnvironmentBoundary
Classify
member on the environment declaration owner_path names.
This is one question asked from two places: from a.b import member,
and an attribute read through a module binder (a.b.member). Read moreAuto Trait Implementations§
impl Freeze for UnacquiredPythonEnvironment
impl RefUnwindSafe for UnacquiredPythonEnvironment
impl Send for UnacquiredPythonEnvironment
impl Sync for UnacquiredPythonEnvironment
impl Unpin for UnacquiredPythonEnvironment
impl UnsafeUnpin for UnacquiredPythonEnvironment
impl UnwindSafe for UnacquiredPythonEnvironment
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more