pub struct FirstUseInstallPolicy { /* private fields */ }Implementations§
Source§impl FirstUseInstallPolicy
impl FirstUseInstallPolicy
pub const fn new(offline: bool, disabled: bool) -> Self
pub fn from_env() -> UseResult<Self>
pub const fn blocked_by(self) -> Option<FirstUseInstallBlock>
pub const fn allows_install(self) -> bool
Trait Implementations§
Source§impl Clone for FirstUseInstallPolicy
impl Clone for FirstUseInstallPolicy
Source§fn clone(&self) -> FirstUseInstallPolicy
fn clone(&self) -> FirstUseInstallPolicy
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 FirstUseInstallPolicy
Source§impl Debug for FirstUseInstallPolicy
impl Debug for FirstUseInstallPolicy
impl Eq for FirstUseInstallPolicy
Source§impl PartialEq for FirstUseInstallPolicy
impl PartialEq for FirstUseInstallPolicy
impl StructuralPartialEq for FirstUseInstallPolicy
Auto Trait Implementations§
impl Freeze for FirstUseInstallPolicy
impl RefUnwindSafe for FirstUseInstallPolicy
impl Send for FirstUseInstallPolicy
impl Sync for FirstUseInstallPolicy
impl Unpin for FirstUseInstallPolicy
impl UnsafeUnpin for FirstUseInstallPolicy
impl UnwindSafe for FirstUseInstallPolicy
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