pub struct PhpCast {
pub cast_type: PhpCastType,
pub expression: Box<PhpExpression>,
}Expand description
PHP 类型转换
Fields§
§cast_type: PhpCastType§expression: Box<PhpExpression>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PhpCast
impl<'de> Deserialize<'de> for PhpCast
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PhpCast
Auto Trait Implementations§
impl Freeze for PhpCast
impl RefUnwindSafe for PhpCast
impl Send for PhpCast
impl Sync for PhpCast
impl Unpin for PhpCast
impl UnwindSafe for PhpCast
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