pub fn into_stream(self, _r: &impl Resolve) -> Result<PdfStream> {
        match self {
            Primitive::Stream (s) => Ok(s),
            // Primitive::Reference (id) => r.resolve(id)?.to_stream(r),
            p => unexpected_primitive!(Stream, p.get_debug_name())
        }
    }
/// Doesn't accept a Reference
Doesn't accept a Reference
Doesn ' t accept a Reference
pub fn into_stream(self, _r: &impl Resolve) -> Result<PdfStream> {
        match self {
            Primitive::Stream (s) => Ok(s),
            // Primitive::Reference (id) => r.resolve(id)?.to_stream(r),
            p => unexpected_primitive!(Stream, p.get_debug_name())
        }
    }
pub fn into_stream ( self , _r : & impl Resolve ) -> Result < PdfStream > { match self { Primitive :: Stream ( s ) => Ok ( s ) , // Primitive::Reference (id) => r.resolve(id)?.to_stream(r), p => unexpected_primitive ! ( Stream p get_debug_name ( ) ) } }
Doesn't accept a Reference
Doesn ' t accept a Reference
self
_r
&impl Resolve
self
_r
&impl Resolve