Function x11rb_protocol::resource_manager::parser::next_component
source ยท fn next_component(data: &[u8]) -> (Option<&[u8]>, &[u8])
Expand description
Find the longest prefix satisfying allowed_in_quark_name(). This returns (Some(prefix), remaining) if a prefix is found, else (None, data).