pub struct PatternElt<'buf>(pub Ptr<'buf, PatternEltData>);
Expand description
Tuple Fields§
§0: Ptr<'buf, PatternEltData>
Implementations§
Source§impl<'buf> PatternElt<'buf>
impl<'buf> PatternElt<'buf>
Sourcepub fn values(
&self,
) -> Result<impl Iterator<Item = Result<Value<'buf>, Error>> + 'buf, Error>
pub fn values( &self, ) -> Result<impl Iterator<Item = Result<Value<'buf>, Error>> + 'buf, Error>
An iterator over the values in this PatternElt
.
Sourcepub fn object(&self) -> Result<Object, Error>
pub fn object(&self) -> Result<Object, Error>
The object tag, describing the font property that this PatternElt
represents.
Sourcepub fn data(&self) -> Result<PatternEltData, Error>
pub fn data(&self) -> Result<PatternEltData, Error>
The serialized pattern elt data, straight from the fontconfig cache.
Auto Trait Implementations§
impl<'buf> Freeze for PatternElt<'buf>
impl<'buf> RefUnwindSafe for PatternElt<'buf>
impl<'buf> Send for PatternElt<'buf>
impl<'buf> Sync for PatternElt<'buf>
impl<'buf> Unpin for PatternElt<'buf>
impl<'buf> UnwindSafe for PatternElt<'buf>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more