pub struct Pixels<S: Style>(/* private fields */);Implementations§
Source§impl<S: Style> Pixels<S>
impl<S: Style> Pixels<S>
pub fn next(self, style: S, s: char) -> Self
pub fn string(self, style: S, s: &str) -> Self
pub fn get_mut(&mut self, index: usize) -> Option<&mut Pixel<S>>
pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut Pixel<S>> + '_
pub fn iter(&self) -> impl Iterator<Item = &Pixel<S>> + '_
Trait Implementations§
impl<S: Style> StructuralPartialEq for Pixels<S>
Auto Trait Implementations§
impl<S> Freeze for Pixels<S>
impl<S> RefUnwindSafe for Pixels<S>where
S: RefUnwindSafe,
impl<S> Send for Pixels<S>where
S: Send,
impl<S> Sync for Pixels<S>where
S: Sync,
impl<S> Unpin for Pixels<S>where
S: Unpin,
impl<S> UnwindSafe for Pixels<S>where
S: UnwindSafe,
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