pub struct MarlinFormat { /* private fields */ }Implementations§
Trait Implementations§
Source§impl BulletFormat for MarlinFormat
impl BulletFormat for MarlinFormat
const HEADER_SIZE: usize = 0usize
type FeatureType = (u8, u8)
fn score(&self) -> i16
fn result(&self) -> f32
fn result_idx(&self) -> usize
fn set_result(&mut self, result: f32)
fn blended_result(&self, blend: f32, scale: f32) -> f32
fn as_bytes_slice(data: &[Self]) -> &[u8] ⓘ
fn write_to_bin(output: &mut BufWriter<File>, data: &[Self]) -> Result<()>
Source§impl Clone for MarlinFormat
impl Clone for MarlinFormat
Source§fn clone(&self) -> MarlinFormat
fn clone(&self) -> MarlinFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<MarlinFormat> for ChessBoard
impl From<MarlinFormat> for ChessBoard
Source§fn from(mf: MarlinFormat) -> Self
fn from(mf: MarlinFormat) -> Self
Converts to this type from the input type.
Source§impl IntoIterator for MarlinFormat
impl IntoIterator for MarlinFormat
impl Copy for MarlinFormat
Auto Trait Implementations§
impl Freeze for MarlinFormat
impl RefUnwindSafe for MarlinFormat
impl Send for MarlinFormat
impl Sync for MarlinFormat
impl Unpin for MarlinFormat
impl UnwindSafe for MarlinFormat
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