pub struct ProjectConfig {
pub sourcemap: String,
pub model: Model,
pub targets: TargetsConfig,
}Expand description
How the project model is obtained.
Fields§
§sourcemap: Stringauto generates a sourcemap with Rojo when one is missing (ADR-004).
Any other value is treated as a path relative to the project root.
model: Modelauto, rojo or plain.
targets: TargetsConfigauto or a list of roblox, lute, lune, bare.
Trait Implementations§
Source§impl Clone for ProjectConfig
impl Clone for ProjectConfig
Source§impl Debug for ProjectConfig
impl Debug for ProjectConfig
Source§impl Default for ProjectConfig
impl Default for ProjectConfig
Source§impl<'de> Deserialize<'de> for ProjectConfigwhere
ProjectConfig: Default,
impl<'de> Deserialize<'de> for ProjectConfigwhere
ProjectConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ProjectConfig
impl Freeze for ProjectConfig
impl Move for ProjectConfig
impl RefUnwindSafe for ProjectConfig
impl Send for ProjectConfigwhere
RawVecInner: Send,
impl Sync for ProjectConfigwhere
RawVecInner: Sync,
impl Unpin for ProjectConfig
impl UnsafeUnpin for ProjectConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Target>: UnsafeUnpin,
impl UnwindSafe for ProjectConfigwhere
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