added C for threading
This commit is contained in:
+2
-5
@@ -7,10 +7,7 @@ pub use styles::*;
|
||||
pub mod elements;
|
||||
pub use elements::*;
|
||||
|
||||
pub fn text<'a>() -> std::sync::Arc<Text<'a>> {
|
||||
std::sync::Arc::new(Text::new())
|
||||
}
|
||||
|
||||
pub fn div<'a>() -> std::sync::Arc<Div<'a>> {
|
||||
std::sync::Arc::new(Div::new())
|
||||
pub fn text<'a>() -> Box<Text<'a>> {
|
||||
Box::new(Text::new())
|
||||
}
|
||||
Reference in New Issue
Block a user