pub struct Target(pub System, pub Mode, pub Architecture);Expand description
Target to compile the Godot game and the Rust GDExtension to.
Tuple Fields§
§0: System§1: Mode§2: ArchitectureImplementations§
Source§impl Target
impl Target
Sourcepub fn get_rust_target_triple(&self) -> String
pub fn get_rust_target_triple(&self) -> String
Gets the name of the Rust target triple this Target would use if the Architecture isn’t Generic.
§Returns
The name of the Rust target triple of this Target.
Sourcepub fn get_godot_target(&self) -> String
pub fn get_godot_target(&self) -> String
Trait Implementations§
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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<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.