pub struct Assets {
pub puzzle: Option<&'static str>,
pub solver: Option<&'static str>,
pub hints: &'static [&'static str],
pub source_url: Option<&'static str>,
}Expand description
Puzzle assets (images, hints, solutions).
Fields§
§puzzle: Option<&'static str>Relative path to main puzzle image (within collection’s assets folder)
solver: Option<&'static str>Relative path to solution explanation image
hints: &'static [&'static str]Hint images
source_url: Option<&'static str>Original source URL for attribution
Trait Implementations§
impl Copy for Assets
impl Eq for Assets
impl StructuralPartialEq for Assets
Auto Trait Implementations§
impl Freeze for Assets
impl RefUnwindSafe for Assets
impl Send for Assets
impl Sync for Assets
impl Unpin for Assets
impl UnwindSafe for Assets
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