pub enum FieldRank {
Single,
First(Weak<RefCell<PictureData>>),
Second(Rc<RefCell<PictureData>>),
}Expand description
The rank of a field, i.e. whether it is the first or second one to be parsed from the stream.
This is unrelated to the Field type, as the first field can be either Top or Bottom.
Variants§
Single
Frame has a single field.
First(Weak<RefCell<PictureData>>)
Frame is interlaced, and this is the first field (with a reference to the second one).
Second(Rc<RefCell<PictureData>>)
Frame is interlaced, and this is the second field (with a reference to the first one).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldRank
impl !RefUnwindSafe for FieldRank
impl !Send for FieldRank
impl !Sync for FieldRank
impl Unpin for FieldRank
impl !UnwindSafe for FieldRank
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