pub enum Source {
File(String),
Pbo(String),
Console,
}
Expand description
Source of the extension call.
Variants§
File(String)
Absolute path of the file on the players system.
For example on windows: C:\Users\user\Documents\Arma 3\missions\test.VR\fn_armaContext.sqf
.
Pbo(String)
Path inside of a pbo.
For example: z\test\addons\main\fn_armaContext.sqf
.
Console
Debug console or an other form of on the fly execution, such as mission triggers.
Implementations§
Trait Implementations§
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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