pub fn from_id(id: u16) -> Option<Self> {
        match id {
            4 => Some(Self::Format4),
            12 => Some(Self::Format12),
            _ => None,
        }
    }
/// Returns the `RecordFormat` for a subtable format id; returns `None` if the format id is unsupported.
Returns the `RecordFormat` for a subtable format id; returns `None` if the format id is unsupported.
Returns the ` RecordFormat ` for a subtable format id ; returns ` None ` if the format id is unsupported .
pub fn from_id(id: u16) -> Option<Self> {
        match id {
            4 => Some(Self::Format4),
            12 => Some(Self::Format12),
            _ => None,
        }
    }
pub fn from_id ( id : u16 ) -> Option < Self > { match id { 4 => Some ( Self :: Format4 ) , 12 => Some ( Self :: Format12 ) , _ => None , } }
Returns the `RecordFormat` for a subtable format id; returns `None` if the format id is unsupported.
Returns the ` RecordFormat ` for a subtable format id ; returns ` None ` if the format id is unsupported .
id
u16
id
u16