Searched refs:LayoutError (Results 1 – 2 of 2) sorted by relevance
651 pub fn offset_of_field(&self) -> Result<usize, LayoutError> { in offset_of_field() argument655 Err(LayoutError::from(offset as i32)) in offset_of_field()932 pub enum LayoutError { enum948 impl ::std::convert::From<i32> for LayoutError { implementation950 use self::LayoutError::*; in from()1070 ) -> Result<usize, LayoutError> { in fallible_size() argument1073 Err(LayoutError::from(val as i32)) in fallible_size()1094 ) -> Result<usize, LayoutError> { in fallible_align() argument1097 Err(LayoutError::from(val as i32)) in fallible_align()1108 ) -> Result<crate::ir::layout::Layout, LayoutError> { in fallible_layout() argument
143 LayoutError, enumerator153 DrawingAreaErrorKind::LayoutError => write!(fmt, "Bad layout"), in fmt()