Struct adventofcode_rust_2015::day4::day4_part1::RunnerStruct
source · [−]pub struct RunnerStruct {
input: ArcStr,
output: PhantomData<u64>,
}
Fields
input: ArcStr
output: PhantomData<u64>
Trait Implementations
sourceimpl Runner for RunnerStruct
impl Runner for RunnerStruct
fn gen(input: ArcStr) -> Self
fn run(&self) -> Box<dyn Display>
fn bench(&self, black_box: fn(_: &dyn Display))
fn try_gen(input: ArcStr) -> Result<Self, Box<dyn Error + 'static, Global>>
fn try_run(
&self
) -> Result<Box<dyn Display + 'static, Global>, Box<dyn Error + 'static, Global>>
Auto Trait Implementations
impl RefUnwindSafe for RunnerStruct
impl Send for RunnerStruct
impl Sync for RunnerStruct
impl Unpin for RunnerStruct
impl UnwindSafe for RunnerStruct
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more