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.
Trait Implementations§
source§impl PartialEq<Source> for Source
impl PartialEq<Source> for Source
impl Eq for Source
impl StructuralEq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
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