Struct gedcomx::GenderBuilder [−][src]
pub struct GenderBuilder(_);
Implementations
impl GenderBuilder
[src]
impl GenderBuilder
[src]pub fn id<I: Into<Id>>(&mut self, id: I) -> &mut Self
[src]
pub fn lang<I: Into<Lang>>(&mut self, lang: I) -> &mut Self
[src]
pub fn source<I: TryInto<SourceReference, Error = GedcomxError>>(
&mut self,
source: I
) -> Result<&mut Self>
[src]
pub fn source<I: TryInto<SourceReference, Error = GedcomxError>>(
&mut self,
source: I
) -> Result<&mut Self>
[src]Errors
Will return GedcomxError::NoId
if a
conversion into SourceReference
fails.
This happens if source
has no id
set.
pub fn source_ref(&mut self, source_ref: SourceReference) -> &mut Self
[src]
pub fn analysis(&mut self, document: &Document) -> Result<&mut Self>
[src]
pub fn analysis(&mut self, document: &Document) -> Result<&mut Self>
[src]Errors
Will return GedcomxError
if a conversion into
Document
fails. This happens if document
has no id
set or has the wrong document_type
.