pub enum WindowsABI {
MSVC,
MinGW,
LLVM,
}Expand description
Env and ABI used to build the Rust GDExtension for Windows.
Variants§
MSVC
Microsoft Visual C++ compiler.
MinGW
The MinGW compiler (MSYS2 port of GCC).
LLVM
Similar to MinGW but using UCRT as the runtime and various LLVM tools/libraries instead of GCC/Binutils. More information: https://doc.rust-lang.org/rustc/platform-support/pc-windows-gnullvm.html
Implementations§
Source§impl WindowsABI
impl WindowsABI
Sourcepub fn get_rust_name(&self) -> &'static str
pub fn get_rust_name(&self) -> &'static str
Gets the name of the WindowsABI used in Rust target triples.
§Returns
The name of the WindowsABI for the Rust target triple.
Trait Implementations§
Source§impl Clone for WindowsABI
impl Clone for WindowsABI
Source§fn clone(&self) -> WindowsABI
fn clone(&self) -> WindowsABI
Returns a duplicate 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 moreSource§impl Debug for WindowsABI
impl Debug for WindowsABI
Source§impl Default for WindowsABI
impl Default for WindowsABI
Source§fn default() -> WindowsABI
fn default() -> WindowsABI
Returns the “default value” for a type. Read more
Source§impl Hash for WindowsABI
impl Hash for WindowsABI
Source§impl PartialEq for WindowsABI
impl PartialEq for WindowsABI
impl Copy for WindowsABI
impl Eq for WindowsABI
impl StructuralPartialEq for WindowsABI
Auto Trait Implementations§
impl Freeze for WindowsABI
impl RefUnwindSafe for WindowsABI
impl Send for WindowsABI
impl Sync for WindowsABI
impl Unpin for WindowsABI
impl UnwindSafe for WindowsABI
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.