Struct mcvm::package::eval::EvalParameters
source · pub struct EvalParameters {
pub side: Side,
pub features: Vec<String>,
pub perms: EvalPermissions,
pub stability: PackageStability,
}Expand description
Constants for the evaluation that may be different for each package
Fields§
§side: SideThe side (client/server) we are installing the package on
features: Vec<String>Features enabled for the package
perms: EvalPermissionsPermissions for the package
stability: PackageStabilityRequested stability of the package’s contents
Trait Implementations§
source§impl Clone for EvalParameters
impl Clone for EvalParameters
source§fn clone(&self) -> EvalParameters
fn clone(&self) -> EvalParameters
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for EvalParameters
impl Send for EvalParameters
impl Sync for EvalParameters
impl Unpin for EvalParameters
impl UnwindSafe for EvalParameters
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