pub struct AocClientBuilder { /* private fields */ }
Implementations§
Source§impl AocClientBuilder
impl AocClientBuilder
pub fn build(&self) -> AocResult<AocClient>
pub fn year(&mut self, year: PuzzleYear) -> AocResult<&mut Self>
pub fn latest_event_year(&mut self) -> AocResult<&mut Self>
pub fn day(&mut self, day: PuzzleDay) -> AocResult<&mut Self>
pub fn latest_puzzle_day(&mut self) -> AocResult<&mut Self>
pub fn output_width(&mut self, width: usize) -> AocResult<&mut Self>
pub fn overwrite_files(&mut self, overwrite: bool) -> &mut Self
pub fn input_filename<P: AsRef<Path>>(&mut self, path: P) -> &mut Self
pub fn puzzle_filename<P: AsRef<Path>>(&mut self, path: P) -> &mut Self
pub fn show_html_markup(&mut self, show: bool) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AocClientBuilder
impl RefUnwindSafe for AocClientBuilder
impl Send for AocClientBuilder
impl Sync for AocClientBuilder
impl Unpin for AocClientBuilder
impl UnwindSafe for AocClientBuilder
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