MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / as_ref

Method as_ref

node-graph/libraries/resources/src/lib.rs:56–58  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

54
55impl AsRef<[u8]> for Resource {
56 fn as_ref(&self) -> &[u8] {
57 (*self.inner).as_ref()
58 }
59}
60
61impl std::fmt::Debug for Resource {

Callers 15

derive_cache_hashFunction · 0.45
hash_fieldsFunction · 0.45
getMethod · 0.45
surfaceMethod · 0.45
presentMethod · 0.45
newMethod · 0.45
newMethod · 0.45
derefMethod · 0.45
is_opaqueMethod · 0.45
is_fully_transparentMethod · 0.45
fromMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected