aboutsummaryrefslogtreecommitdiffstats
path: root/src/document_tree/extra_attributes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/document_tree/extra_attributes.rs')
-rw-r--r--src/document_tree/extra_attributes.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/document_tree/extra_attributes.rs b/src/document_tree/extra_attributes.rs
index 2141469..16e261f 100644
--- a/src/document_tree/extra_attributes.rs
+++ b/src/document_tree/extra_attributes.rs
@@ -3,7 +3,8 @@ use url::Url;
use super::attribute_types::{FixedSpace,ID,NameToken,AlignHV,AlignH,Measure,EnumeratedListType};
pub trait ExtraAttributes<A> {
- fn extra(&self) -> &A;
+ fn extra (& self) -> & A;
+ fn extra_mut(&mut self) -> &mut A;
}
#[derive(Default,Debug)] pub struct Address { pub space: FixedSpace }