PrefixString
pub struct PrefixString<'a> { /* private fields */ }Smart pointer returned by Body::get_prefix_str_mut().
Methods
take
View sourcefn take(self) -> StringReturn the prefix as a string without writing it back to the Body from which it came.
Parameters
- self: Self
Returns
String
Trait implementations
impl Debug for PrefixString
impl Deref for PrefixString
impl DerefMut for PrefixString
deref_mut
View sourcefn deref_mut(&mut self) -> &mut Self::TargetParameters
- self: &mut Self
Returns
&mut Self::Target