Struct fontconfig::ObjectSet
source · pub struct ObjectSet { /* private fields */ }
Expand description
Wrapper around FcObjectSet
.
Implementations§
source§impl ObjectSet
impl ObjectSet
sourcepub fn new(_: &Fontconfig) -> ObjectSet
pub fn new(_: &Fontconfig) -> ObjectSet
Create a new, empty ObjectSet
.
sourcepub unsafe fn from_raw(_: &Fontconfig, raw_set: *mut FcObjectSet) -> ObjectSet
pub unsafe fn from_raw(_: &Fontconfig, raw_set: *mut FcObjectSet) -> ObjectSet
Wrap an existing FcObjectSet
.
The FcObjectSet
must not be null. This method assumes ownership of the FcObjectSet
.
Safety: The object set pointer must be valid/non-null.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ObjectSet
impl !Send for ObjectSet
impl !Sync for ObjectSet
impl Unpin for ObjectSet
impl UnwindSafe for ObjectSet
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