Struct yoin_core::dic::Matrix
[−]
[src]
pub struct Matrix<T: Borrow<[i16]>> { /* fields omitted */ }
Methods
impl Matrix<Vec<i16>>
[src]
fn with_zeros(width: u16, height: u16) -> Self
[src]
impl<T: Borrow<[i16]>> Matrix<T>
[src]
fn encode<W: Write, O: ByteOrder>(&self, w: W) -> Result<()>
[src]
fn encode_native<W: Write>(&self, w: W) -> Result<()>
[src]
fn row(&self, left_id: u16) -> &[i16]
[src]
impl<'a> Matrix<&'a [i16]>
[src]
Trait Implementations
impl<T: Debug + Borrow<[i16]>> Debug for Matrix<T>
[src]
impl<T: Clone + Borrow<[i16]>> Clone for Matrix<T>
[src]
fn clone(&self) -> Matrix<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq + Borrow<[i16]>> PartialEq for Matrix<T>
[src]
fn eq(&self, __arg_0: &Matrix<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Matrix<T>) -> bool
[src]
This method tests for !=
.
impl<T: Borrow<[i16]>> Index<(u16, u16)> for Matrix<T>
[src]
type Output = i16
The returned type after indexing.
fn index(&self, index: (u16, u16)) -> &i16
[src]
Performs the indexing (container[index]
) operation.