aboutsummaryrefslogtreecommitdiff
path: root/font/src/ft/fc/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'font/src/ft/fc/config.rs')
-rw-r--r--font/src/ft/fc/config.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/font/src/ft/fc/config.rs b/font/src/ft/fc/config.rs
index cc3b5e52..12ec2844 100644
--- a/font/src/ft/fc/config.rs
+++ b/font/src/ft/fc/config.rs
@@ -17,10 +17,12 @@ use super::ffi::{FcConfig, FcConfigDestroy, FcConfigGetCurrent, FcConfigGetFonts
use super::{FontSetRef, SetName};
foreign_type! {
- pub type Config {
- type CType = FcConfig;
- fn drop = FcConfigDestroy;
- }
+ type CType = FcConfig;
+ fn drop = FcConfigDestroy;
+ /// Wraps an FcConfig instance (owned)
+ pub struct Config;
+ /// Wraps an FcConfig reference (borrowed)
+ pub struct ConfigRef;
}
impl Config {