pub enum ModelSource {
Given(PathBuf),
Existing(PathBuf),
Generated(PathBuf),
ProjectFile(PathBuf),
Suffixes,
Plain,
Studio,
Place,
}Expand description
Where the project model came from. Printed under --verbose so a wrong context is
diagnosable in one line.
Variants§
Given(PathBuf)
Existing(PathBuf)
Generated(PathBuf)
ProjectFile(PathBuf)
Suffixes
Plain
A plain Luau tree with no engine model. Context comes from filename suffixes only.
Studio
The open place in Roblox Studio, read through its MCP server.
Place
A .rbxl or .rbxlx place read directly.
Implementations§
Trait Implementations§
Source§impl Clone for ModelSource
impl Clone for ModelSource
Source§impl Debug for ModelSource
impl Debug for ModelSource
impl Eq for ModelSource
Source§impl PartialEq for ModelSource
impl PartialEq for ModelSource
impl StructuralPartialEq for ModelSource
Auto Trait Implementations§
impl Forget for ModelSource
impl Freeze for ModelSource
impl Move for ModelSource
impl RefUnwindSafe for ModelSource
impl Send for ModelSourcewhere
RawVecInner: Send,
impl Sync for ModelSourcewhere
RawVecInner: Sync,
impl Unpin for ModelSource
impl UnsafeUnpin for ModelSource
impl UnwindSafe for ModelSourcewhere
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