var searchIndex = {}; searchIndex["tendril"] = {"doc":"","items":[[3,"Tendril","tendril","Compact string type for zero-copy parsing.",null,null],[3,"SendTendril","","A simple wrapper to make `Tendril` `Send`.",null,null],[3,"Atomic","","A marker of an atomic (and hence concurrent) tendril.",null,null],[3,"NonAtomic","","A marker of a non-atomic tendril.",null,null],[4,"SubtendrilError","","Errors that can occur when slicing a `Tendril`.",null,null],[13,"OutOfBounds","","",0,null],[13,"ValidationFailed","","",0,null],[0,"fmt","","Marker types for formats.",null,null],[3,"Bytes","tendril::fmt","Marker type for uninterpreted bytes.",null,null],[3,"ASCII","","Marker type for ASCII text.",null,null],[3,"UTF8","","Marker type for UTF-8 text.",null,null],[3,"WTF8","","Marker type for WTF-8 text.",null,null],[3,"Latin1","","Marker type for the single-byte encoding of the first 256 Unicode codepoints.",null,null],[0,"imp","","Implementation details.",null,null],[3,"Fixup","tendril::fmt::imp","Describes how to fix up encodings when concatenating.",null,null],[12,"drop_left","","",1,null],[12,"drop_right","","",1,null],[12,"insert_len","","",1,null],[12,"insert_bytes","","",1,null],[3,"SingleByteCharIndices","","",null,null],[11,"default","","",1,{"inputs":[],"output":{"name":"fixup"}}],[11,"next","","",2,null],[11,"new","","",2,null],[8,"Format","tendril::fmt","Trait for format marker types.",null,null],[10,"validate","","Check whether the buffer is valid for this format.",3,null],[11,"validate_prefix","","Check whether the buffer is valid for this format.",3,null],[11,"validate_suffix","","Check whether the buffer is valid for this format.",3,null],[11,"validate_subseq","","Check whether the buffer is valid for this format.",3,null],[11,"fixup","","Compute any fixup needed when concatenating buffers.",3,null],[8,"SubsetOf","","Indicates that one format is a subset of another.",null,null],[11,"revalidate_subset","","Validate the *other* direction of conversion; check if\nthis buffer from the superset format conforms to the\nsubset format.",4,null],[8,"SliceFormat","","Indicates a format which corresponds to a Rust slice type,\nrepresenting exactly the same invariants.",null,null],[16,"Slice","","",5,null],[8,"CharFormat","","Indicates a format which contains characters from Unicode\n(all of it, or some proper subset).",null,null],[16,"Iter","","Iterator for characters and their byte indices.",6,null],[10,"char_indices","","Iterate over the characters of the string and their byte\nindices.",6,null],[10,"encode_char","","Encode the character as bytes and pass them to a continuation.",6,{"inputs":[{"name":"char"},{"name":"f"}],"output":{"name":"result"}}],[8,"Slice","","Indicates a Rust slice type that has a corresponding format.",null,null],[16,"Format","","",7,null],[10,"as_bytes","","Access the raw bytes of the slice.",7,null],[10,"from_bytes","","Convert a byte slice to this kind of slice.",7,null],[11,"fmt","","",8,null],[11,"default","","",8,{"inputs":[],"output":{"name":"bytes"}}],[11,"clone","","",8,null],[11,"validate","","",8,null],[11,"fmt","","",9,null],[11,"default","","",9,{"inputs":[],"output":{"name":"ascii"}}],[11,"clone","","",9,null],[11,"validate","","",9,null],[11,"validate_prefix","","",9,null],[11,"validate_suffix","","",9,null],[11,"validate_subseq","","",9,null],[11,"char_indices","","",9,null],[11,"encode_char","","",9,{"inputs":[{"name":"char"},{"name":"f"}],"output":{"name":"result"}}],[11,"fmt","","",10,null],[11,"default","","",10,{"inputs":[],"output":{"name":"utf8"}}],[11,"clone","","",10,null],[11,"validate","","",10,null],[11,"validate_prefix","","",10,null],[11,"validate_suffix","","",10,null],[11,"validate_subseq","","",10,null],[11,"char_indices","","",10,null],[11,"encode_char","","",10,{"inputs":[{"name":"char"},{"name":"f"}],"output":{"name":"result"}}],[11,"fmt","","",11,null],[11,"default","","",11,{"inputs":[],"output":{"name":"wtf8"}}],[11,"clone","","",11,null],[11,"validate","","",11,null],[11,"validate_prefix","","",11,null],[11,"validate_suffix","","",11,null],[11,"validate_subseq","","",11,null],[11,"fixup","","",11,null],[11,"fmt","","",12,null],[11,"default","","",12,{"inputs":[],"output":{"name":"latin1"}}],[11,"clone","","",12,null],[11,"validate","","",12,null],[11,"validate_prefix","","",12,null],[11,"validate_suffix","","",12,null],[11,"validate_subseq","","",12,null],[11,"char_indices","","",12,null],[11,"encode_char","","",12,{"inputs":[{"name":"char"},{"name":"f"}],"output":{"name":"result"}}],[0,"stream","tendril","Streams of tendrils.",null,null],[3,"UTF8Validator","tendril::stream","Incrementally validate a byte stream as UTF-8.",null,null],[3,"Decoder","","Incrementally decode a byte stream to UTF-8.",null,null],[8,"TendrilSink","","Trait for types that can process a tendril.",null,null],[10,"process","","Process this tendril.",13,null],[11,"finish","","Indicates the end of the stream.",13,null],[10,"error","","Indicates that an error has occurred.",13,null],[11,"new","","Create a new incremental validator.",14,{"inputs":[{"name":"sink"}],"output":{"name":"utf8validator"}}],[11,"into_sink","","Consume the validator and obtain the sink.",14,null],[11,"process","","",14,null],[11,"finish","","",14,null],[11,"error","","",14,null],[11,"new","","Create a new incremental decoder.",15,{"inputs":[{"name":"encodingref"},{"name":"sink"}],"output":{"name":"decoder"}}],[11,"into_sink","","Consume the decoder and obtain the sink.",15,null],[11,"process","","",15,null],[11,"finish","","",15,null],[11,"error","","",15,null],[11,"new","tendril","",16,{"inputs":[],"output":{"name":"self"}}],[11,"increment","","",16,null],[11,"decrement","","",16,null],[11,"fence_acquire","","",16,{"inputs":[],"output":null}],[11,"new","","",17,{"inputs":[],"output":{"name":"self"}}],[11,"increment","","",17,null],[11,"decrement","","",17,null],[11,"fence_acquire","","",17,{"inputs":[],"output":null}],[11,"eq","","",0,null],[11,"fmt","","",0,null],[11,"hash","","",0,null],[11,"clone","","",0,null],[11,"clone","","",18,null],[11,"drop","","",18,null],[11,"extend","","",18,null],[11,"from_iter","","",18,{"inputs":[{"name":"i"}],"output":{"name":"self"}}],[11,"extend","","",18,null],[11,"from_iter","","",18,{"inputs":[{"name":"i"}],"output":{"name":"self"}}],[11,"extend","","",18,null],[11,"from_iter","","",18,{"inputs":[{"name":"i"}],"output":{"name":"self"}}],[11,"extend","","",18,null],[11,"from_iter","","",18,{"inputs":[{"name":"i"}],"output":{"name":"self"}}],[11,"extend","","",18,null],[11,"from_iter","","",18,{"inputs":[{"name":"i"}],"output":{"name":"self"}}],[11,"extend","","",18,null],[11,"from_iter","","",18,{"inputs":[{"name":"i"}],"output":{"name":"self"}}],[11,"deref","","",18,null],[11,"borrow","","",18,null],[11,"eq","","",18,null],[11,"ne","","",18,null],[11,"partial_cmp","","",18,null],[11,"cmp","","",18,null],[11,"default","","",18,{"inputs":[],"output":{"name":"tendril"}}],[11,"fmt","","",18,null],[11,"hash","","",18,null],[11,"new","","Create a new, empty `Tendril` in any format.",18,{"inputs":[],"output":{"name":"tendril"}}],[11,"with_capacity","","Create a new, empty `Tendril` with a specified capacity.",18,{"inputs":[{"name":"u32"}],"output":{"name":"tendril"}}],[11,"reserve","","Reserve space for additional bytes.",18,null],[11,"len32","","Get the length of the `Tendril`.",18,null],[11,"is_shared","","Is the backing buffer shared?",18,null],[11,"is_shared_with","","Is the backing buffer shared with this other `Tendril`?",18,null],[11,"clear","","Truncate to length 0 without discarding any owned storage.",18,null],[11,"try_from_byte_slice","","Build a `Tendril` by copying a byte slice, if it conforms to the format.",18,null],[11,"as_bytes","","View as uninterpreted bytes.",18,null],[11,"into_bytes","","Convert into uninterpreted bytes.",18,null],[11,"into_send","","Convert `self` into a type which is `Send`.",18,null],[11,"as_superset","","View as a superset format, for free.",18,null],[11,"into_superset","","Convert into a superset format, for free.",18,null],[11,"try_as_subset","","View as a subset format, if the `Tendril` conforms to that subset.",18,null],[11,"try_into_subset","","Convert into a subset format, if the `Tendril` conforms to that subset.",18,null],[11,"try_reinterpret_view","","View as another format, if the bytes of the `Tendril` are valid for\nthat format.",18,null],[11,"try_reinterpret","","Convert into another format, if the `Tendril` conforms to that format.",18,null],[11,"try_push_bytes","","Push some bytes onto the end of the `Tendril`, if they conform to the\nformat.",18,null],[11,"push_tendril","","Push another `Tendril` onto the end of this one.",18,null],[11,"try_subtendril","","Attempt to slice this `Tendril` as a new `Tendril`.",18,null],[11,"subtendril","","Slice this `Tendril` as a new `Tendril`.",18,null],[11,"try_pop_front","","Try to drop `n` bytes from the front.",18,null],[11,"pop_front","","Drop `n` bytes from the front.",18,null],[11,"try_pop_back","","Drop `n` bytes from the back.",18,null],[11,"pop_back","","Drop `n` bytes from the back.",18,null],[11,"reinterpret_view_without_validating","","View as another format, without validating.",18,null],[11,"reinterpret_without_validating","","Convert into another format, without validating.",18,null],[11,"from_byte_slice_without_validating","","Build a `Tendril` by copying a byte slice, without validating.",18,null],[11,"push_bytes_without_validating","","Push some bytes onto the end of the `Tendril`, without validating.",18,null],[11,"unsafe_subtendril","","Slice this `Tendril` as a new `Tendril`.",18,null],[11,"unsafe_pop_front","","Drop `n` bytes from the front.",18,null],[11,"unsafe_pop_back","","Drop `n` bytes from the back.",18,null],[11,"deref_mut","","",18,null],[11,"from_slice","","Build a `Tendril` by copying a slice.",18,{"inputs":[{"name":"slice"}],"output":{"name":"tendril"}}],[11,"push_slice","","Push a slice onto the end of the `Tendril`.",18,null],[11,"from","","",19,{"inputs":[{"name":"tendril"}],"output":{"name":"sendtendril"}}],[11,"from","","",18,{"inputs":[{"name":"sendtendril"}],"output":{"name":"tendril"}}],[11,"pop_front_char","","Remove and return the first character, if any.",18,null],[11,"pop_front_char_run","","Remove and return a run of characters at the front of the `Tendril`\nwhich are classified the same according to the function `classify`.",18,null],[11,"try_push_char","","Push a character, if it can be represented in this format.",18,null],[11,"write","","",18,null],[11,"write_all","","",18,null],[11,"flush","","",18,null],[11,"write_byte","","",18,null],[11,"write_bytes","","",18,null],[11,"writer_hint","","",18,null],[11,"decode","","Decode from some character encoding into UTF-8.",18,null],[11,"push_uninitialized","","Push "uninitialized bytes" onto the end.",18,null],[11,"fmt","","",18,null],[11,"from_str","","",18,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"write_str","","",18,null],[11,"write_char","","",18,null],[11,"write_str","","",18,null],[11,"writer_hint","","",18,null],[11,"encode","","Encode from UTF-8 into some other character encoding.",18,null],[11,"push_char","","Push a character onto the end.",18,null],[11,"from_char","","Create a `Tendril` from a single character.",18,{"inputs":[{"name":"char"}],"output":{"name":"tendril"}}],[11,"format","","Helper for the `format_tendril!` macro.",18,{"inputs":[{"name":"arguments"}],"output":{"name":"tendril"}}],[11,"from","","",18,{"inputs":[{"name":"slice"}],"output":{"name":"tendril"}}],[11,"from","","",18,{"inputs":[{"name":"string"}],"output":{"name":"tendril"}}],[11,"as_ref","","",18,null],[6,"ByteTendril","","`Tendril` for storing binary data.",null,null],[6,"StrTendril","","`Tendril` for storing native Rust strings.",null,null],[8,"SliceExt","","`Tendril`-related methods for Rust slices.",null,null],[11,"to_tendril","","Make a `Tendril` from this slice.",20,null],[8,"ReadExt","","Extension trait for `io::Read`.",null,null],[10,"read_to_tendril","","",21,null],[8,"Atomicity","","The multithreadedness of a tendril.",null,null],[14,"format_tendril!","","Create a `StrTendril` through string formatting.",null,null],[11,"to_tendril","","Make a `Tendril` from this slice.",20,null]],"paths":[[4,"SubtendrilError"],[3,"Fixup"],[3,"SingleByteCharIndices"],[8,"Format"],[8,"SubsetOf"],[8,"SliceFormat"],[8,"CharFormat"],[8,"Slice"],[3,"Bytes"],[3,"ASCII"],[3,"UTF8"],[3,"WTF8"],[3,"Latin1"],[8,"TendrilSink"],[3,"UTF8Validator"],[3,"Decoder"],[3,"NonAtomic"],[3,"Atomic"],[3,"Tendril"],[3,"SendTendril"],[8,"SliceExt"],[8,"ReadExt"]]}; initSearch(searchIndex);