diff options
| author | Phil Schaf | 2015-11-14 22:18:42 +0100 | 
|---|---|---|
| committer | Phil Schaf | 2015-11-14 22:18:42 +0100 | 
| commit | d3c3b98b43713a66111994c81bbf5c12776ad39f (patch) | |
| tree | eac418164c744726c3b9aa70901626e1e1439ee8 /src/document_tree/extra_attributes.rs | |
| parent | 7638986b092e4276ecf25e49633618c5f5a9c4af (diff) | |
| download | rust-rst-d3c3b98b43713a66111994c81bbf5c12776ad39f.tar.bz2 | |
added mutable interfaces
Diffstat (limited to 'src/document_tree/extra_attributes.rs')
| -rw-r--r-- | src/document_tree/extra_attributes.rs | 3 | 
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 } | 
