pub fn write_component(self, output: &mut Vec<u8>) {
        match self {
            ComponentRef::Crate(s) => {
                write_crate(s, output);
            }
            ComponentRef::Str(s) => {
                write_str(s, output);
            }
            ComponentRef::Id(c) => {
                write_tag(output, ID, c);
            }
        }
    }
/// Write the current component to the given vector.
Write the current component to the given vector.
Write the current component to the given vector .
pub fn write_component(self, output: &mut Vec<u8>) {
        match self {
            ComponentRef::Crate(s) => {
                write_crate(s, output);
            }
            ComponentRef::Str(s) => {
                write_str(s, output);
            }
            ComponentRef::Id(c) => {
                write_tag(output, ID, c);
            }
        }
    }
pub fn write_component ( self , output : & mut Vec < u8 > ) { match self { ComponentRef :: Crate ( s ) => { write_crate ( s , output ) ; } ComponentRef :: Str ( s ) => { write_str ( s , output ) ; } ComponentRef :: Id ( c ) => { write_tag ( output , ID , c ) ; } } }
Write the current component to the given vector.
Write the current component to the given vector .
self
output
&mut Vec<u8>
self
output
&mut Vec<u8>