MCPcopy Index your code
hub / github.com/Recordscript/recordscript / TraitPixelBuffer

Interface TraitPixelBuffer

libs/scrap/src/common/mod.rs:138–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138pub trait TraitPixelBuffer {
139 fn data(&self) -> &[u8];
140
141 fn width(&self) -> usize;
142
143 fn height(&self) -> usize;
144
145 fn stride(&self) -> Vec<usize>;
146
147 fn pixfmt(&self) -> Pixfmt;
148}
149
150#[cfg(not(any(target_os = "ios")))]
151pub enum Frame<'a> {

Callers

nothing calls this directly

Implementers 4

quartz.rslibs/scrap/src/common/quartz.rs
dxgi.rslibs/scrap/src/common/dxgi.rs
android.rslibs/scrap/src/common/android.rs
x11.rslibs/scrap/src/common/x11.rs

Calls

no outgoing calls

Tested by

no test coverage detected