MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / as_mut_vec

Method as_mut_vec

euralios_std/src/path.rs:99–101  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

97impl PathBuf {
98 #[inline]
99 fn as_mut_vec(&mut self) -> &mut Vec<u8> {
100 unsafe { &mut *(self as *mut PathBuf as *mut Vec<u8>) }
101 }
102
103 /// Allocates an empty `PathBuf`.
104 ///

Callers 2

_pushMethod · 0.80
popMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected