pub struct Alias {
pub name: String,
pub path: PathBuf,
}Expand description
A Luau path alias from .luaurc, such as @game pointing at src.
Fields§
§name: StringThe alias without its leading @, for example game.
path: PathBufAbsolute directory the alias stands for.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Alias
impl Freeze for Alias
impl Move for Alias
impl RefUnwindSafe for Alias
impl Send for Aliaswhere
RawVecInner: Send,
impl Sync for Aliaswhere
RawVecInner: Sync,
impl Unpin for Alias
impl UnsafeUnpin for Alias
impl UnwindSafe for Aliaswhere
RawVecInner: UnwindSafe,
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