This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::iter::FusedIterator; | |
use enumset::EnumSetType; | |
#[derive(Debug, PartialOrd, Ord, Hash, EnumSetType)] | |
pub enum Horizontal { | |
None = 0, | |
East, | |
West, | |
Both, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::{ | |
iter::FusedIterator, | |
ops::Range, | |
}; | |
use bitvec::{ | |
order::{BitOrder, Lsb0}, | |
store::BitStore, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macro_rules! mathml_impl { | |
() => { | |
"" | |
}; | |
($ident:ident $($tt:tt)*) => { | |
::core::concat!( | |
"<mi>", | |
::core::stringify!($ident), | |
"</mi>", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod sealed; | |
// mod util; | |
pub trait Split<Scalar>: sealed::Sealed { | |
type Array: AsRef<[Scalar]> + AsMut<[Scalar]>; | |
#[must_use] | |
fn split(self) -> Self::Array; | |
#[must_use] |