Lines Matching refs:LayoutError
596 pub fn offset_of_field(&self) -> Result<usize, LayoutError> { in offset_of_field() argument
598 return Err(LayoutError::from(-1)); in offset_of_field()
604 Err(LayoutError::from(offset as i32)) in offset_of_field()
844 pub enum LayoutError { enum
860 impl ::std::convert::From<i32> for LayoutError { implementation
862 use self::LayoutError::*; in from()
973 pub fn fallible_size(&self, ctx: &BindgenContext) -> Result<usize, LayoutError> { in fallible_size() argument
976 Err(LayoutError::from(val as i32)) in fallible_size()
990 pub fn fallible_align(&self, ctx: &BindgenContext) -> Result<usize, LayoutError> { in fallible_align() argument
993 Err(LayoutError::from(val as i32)) in fallible_align()
1001 … pub fn fallible_layout(&self, ctx: &BindgenContext) -> Result<::ir::layout::Layout, LayoutError> { in fallible_layout() argument