pub struct PoFile {
pub comments: Vec<String>,
pub extracted_comments: Vec<String>,
pub headers: Vec<Header>,
pub items: Vec<PoItem>,
}Expand description
An owned PO document.
Fields§
§comments: Vec<String>File-level translator comments that appear before the header block.
extracted_comments: Vec<String>File-level extracted comments that appear before the header block.
headers: Vec<Header>Parsed header entries from the leading empty msgid block.
items: Vec<PoItem>Regular catalog items in source order.
Trait Implementations§
impl Eq for PoFile
impl StructuralPartialEq for PoFile
Auto Trait Implementations§
impl Freeze for PoFile
impl RefUnwindSafe for PoFile
impl Send for PoFile
impl Sync for PoFile
impl Unpin for PoFile
impl UnsafeUnpin for PoFile
impl UnwindSafe for PoFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more