pub struct SurfaceCell {
pub x: f64,
pub y: f64,
pub sharpe: f64,
pub selected: bool,
pub above_null: bool,
}Expand description
One configuration’s cell on the search surface.
Fields§
§x: f64§y: f64§sharpe: f64§selected: boolWhether this is the configuration that was chosen.
above_null: boolWhether it beat what a no-skill search of this size would produce.
The distinction the whole chart is drawn around. A cell below the bar is not a weak result, it is not a result — a score a coin-flipping search of the same size would have been expected to reach anyway.
Trait Implementations§
Source§impl Clone for SurfaceCell
impl Clone for SurfaceCell
impl Copy for SurfaceCell
Source§impl Debug for SurfaceCell
impl Debug for SurfaceCell
Source§impl Default for SurfaceCell
impl Default for SurfaceCell
Source§impl<'de> Deserialize<'de> for SurfaceCell
impl<'de> Deserialize<'de> for SurfaceCell
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for SurfaceCell
impl Message for SurfaceCell
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for SurfaceCell
impl PartialEq for SurfaceCell
Source§impl Serialize for SurfaceCell
impl Serialize for SurfaceCell
impl StructuralPartialEq for SurfaceCell
Auto Trait Implementations§
impl Freeze for SurfaceCell
impl RefUnwindSafe for SurfaceCell
impl Send for SurfaceCell
impl Sync for SurfaceCell
impl Unpin for SurfaceCell
impl UnsafeUnpin for SurfaceCell
impl UnwindSafe for SurfaceCell
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