MCPcopy Create free account
hub / github.com/endbasic/endbasic / drop

Method drop

st7735s/src/lib.rs:338–341  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

336
337impl<P: Pins, B> Drop for ST7735SLcd<P, B> {
338 fn drop(&mut self) {
339 let mut pins = self.pins.lock().unwrap();
340 let _result = pins.write(OUTPUT_PIN_BL, false);
341 }
342}
343
344impl<P: Pins, B: SpiBus> Lcd for ST7735SLcd<P, B> {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected