Delma
Delma
One (hacky) way to fix this would be to move existing cargo files to somewhere else and then back after just before command ends.
I am trying to do something like this: ```` struct Struct { data: GenericArray } ```` but the same problem happens with functions: ```` fn function() -> u64 { ::to_u64()...
Ahh... That was it. I was trying all sorts of bounds, but didn't realise you could give bounds like that to concrete types. After getting that fixed I tried to...
Actually just trying to create the struct fails: `let t: Struct = Struct{data: GenericArray::::from_slice(t)};`
Welp... I tried to reduce the code and got to this point: ```` fn wut(t: &[f64]) where U1: Pow, ::Output: ArrayLength { let _ = GenericArray::::from_slice(t); } ```` which fails...
I experimented with this a little more. ```` struct Struct(T); impl Struct { fn from_slice(data: &[f64]) -> Struct where U2: Pow, ::Output: ArrayLegth, { Struct(GenericArray::::from_slice(data)) } } ```` works for...
I got this working: ````rust struct Test(GenericArray) where U2: Pow, ::Output: ArrayLength; fn from_slice(data: &[f64]) -> Test where U2: Pow, ::Output: ArrayLength, { Test::(GenericArray::::from_slice(data)) } fn doit() { let test...
@cowtowncoder So you would write something like: ``` java mapper.writerWithView(A.class).with(EXCLUDE_VIEWS).write(); ``` whereas @astral303 suggested: ``` java mapper.writerWithoutView(A.class).write() ``` What about: ``` java mapper.writerExcludingView(A.class).write() ```