pub struct SimImage {
pub width: usize,
pub height: usize,
pub channels: Vec<Vec<f64>>,
}Expand description
画像(行優先、行 0 が上)。チャンネルは 1(グレー)か 3(R・G・B)
Fields§
§width: usize§height: usize§channels: Vec<Vec<f64>>Trait Implementations§
impl StructuralPartialEq for SimImage
Auto Trait Implementations§
impl Freeze for SimImage
impl RefUnwindSafe for SimImage
impl Send for SimImage
impl Sync for SimImage
impl Unpin for SimImage
impl UnsafeUnpin for SimImage
impl UnwindSafe for SimImage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more