pub struct CastDef {
pub cast_type: CastType,
pub target: Box<Expression>,
pub pos: Position,
}
Expand description
Represents a cast of a target to a primitive type.
Fields§
§cast_type: CastType
§target: Box<Expression>
§pos: Position
Trait Implementations§
impl StructuralPartialEq for CastDef
Auto Trait Implementations§
impl Freeze for CastDef
impl RefUnwindSafe for CastDef
impl !Send for CastDef
impl !Sync for CastDef
impl Unpin for CastDef
impl UnwindSafe for CastDef
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