MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / to_string

Method to_string

canvas/src/decoding.rs:96–101  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 /// Returns the string matched by this decoder (once it's ready)
95 ///
96 #[inline] fn to_string(self) -> Result<String, DecoderError> {
97 match self.string_encoding {
98 PartialResult::FullMatch(string) => Ok(string),
99 PartialResult::MatchMore(_) => Err(DecoderError::NotReady)
100 }
101 }
102
103 ///
104 /// Decodes a single character and returns the new state of the decoder

Callers 15

decode_font_draw_textMethod · 0.80
decode_font_op_layoutMethod · 0.80
decode_layout_textFunction · 0.80
decode_draw_textFunction · 0.80
titleMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls