pub enum RtkRustcDriverVersion {
CratesIoLatest,
CratesIo {
major: u32,
minor: u32,
patch: u32,
},
Local {
path: PathBuf,
},
}
Expand description
The rustc driver version this script is requesting. This enum MUST remain stable. Do not change or remove any existing, committed values to this. You can only add more.
Variants§
CratesIoLatest
The latest version on crates io. Probably not a great idea to use this!
CratesIo
Specific version on crates io.
Local
A local version of the driver.
Trait Implementations§
Source§impl Clone for RtkRustcDriverVersion
impl Clone for RtkRustcDriverVersion
Source§fn clone(&self) -> RtkRustcDriverVersion
fn clone(&self) -> RtkRustcDriverVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RtkRustcDriverVersion
impl Debug for RtkRustcDriverVersion
Source§impl Display for RtkRustcDriverVersion
impl Display for RtkRustcDriverVersion
Source§impl FromLua for RtkRustcDriverVersion
impl FromLua for RtkRustcDriverVersion
Source§impl PartialEq for RtkRustcDriverVersion
impl PartialEq for RtkRustcDriverVersion
impl Eq for RtkRustcDriverVersion
impl StructuralPartialEq for RtkRustcDriverVersion
Auto Trait Implementations§
impl Freeze for RtkRustcDriverVersion
impl RefUnwindSafe for RtkRustcDriverVersion
impl Send for RtkRustcDriverVersion
impl Sync for RtkRustcDriverVersion
impl Unpin for RtkRustcDriverVersion
impl UnwindSafe for RtkRustcDriverVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromLuaMulti for Twhere
T: FromLua,
impl<T> FromLuaMulti for Twhere
T: FromLua,
Source§fn from_lua_multi(values: MultiValue, lua: &Lua) -> Result<T, Error>
fn from_lua_multi(values: MultiValue, lua: &Lua) -> Result<T, Error>
Performs the conversion. Read more
fn from_lua_args( args: MultiValue, i: usize, to: Option<&str>, lua: &Lua, ) -> Result<T, Error>
unsafe fn from_stack_multi(nvals: i32, lua: &RawLua) -> Result<T, Error>
unsafe fn from_stack_args( nargs: i32, i: usize, to: Option<&str>, lua: &RawLua, ) -> Result<T, Error>
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