Struct glory_cli::config::StyleConfig
source · pub struct StyleConfig {
pub file: Option<SourcedSiteFile>,
pub browser_query: String,
pub tailwind: Option<TailwindConfig>,
pub site_file: SiteFile,
}Fields§
§file: Option<SourcedSiteFile>§browser_query: String§tailwind: Option<TailwindConfig>§site_file: SiteFileImplementations§
source§impl StyleConfig
impl StyleConfig
pub fn new(config: &ProjectConfig) -> Result<Self>
Trait Implementations§
source§impl Clone for StyleConfig
impl Clone for StyleConfig
source§fn clone(&self) -> StyleConfig
fn clone(&self) -> StyleConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for StyleConfig
impl Send for StyleConfig
impl Sync for StyleConfig
impl Unpin for StyleConfig
impl UnwindSafe for StyleConfig
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer