MCPcopy Create free account
hub / github.com/ImageOptim/libimagequant / borrow_mut

Method borrow_mut

src/seacow.rs:151–156  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

149impl<T: ?Sized> MutCow<'_, T> {
150 #[must_use]
151 pub fn borrow_mut(&mut self) -> &mut T {
152 match self {
153 Self::Owned(a) => a,
154 Self::Borrowed(a) => a,
155 }
156 }
157}
158
159impl<'a, T: Sync + Send + Copy + 'static> RowBitmapMut<'a, T> {

Callers 6

assume_initMethod · 0.80
rows_mutMethod · 0.80
chunksMethod · 0.80
lenMethod · 0.80
remap_to_paletteFunction · 0.80
iterationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected