#[repr(C)]pub struct MethodAbstractBody {
pub semicolon: Span,
}Expand description
Represents the abstract body of a method statement in PHP.
Example:
<?php
abstract class Foo {
abstract public function bar();
}
Fields§
§semicolon: SpanTrait Implementations§
Source§impl Clone for MethodAbstractBody
impl Clone for MethodAbstractBody
Source§fn clone(&self) -> MethodAbstractBody
fn clone(&self) -> MethodAbstractBody
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MethodAbstractBody
impl Debug for MethodAbstractBody
Source§impl<'de> Deserialize<'de> for MethodAbstractBody
impl<'de> Deserialize<'de> for MethodAbstractBody
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
Source§impl HasSpan for MethodAbstractBody
impl HasSpan for MethodAbstractBody
Source§impl Hash for MethodAbstractBody
impl Hash for MethodAbstractBody
Source§impl Ord for MethodAbstractBody
impl Ord for MethodAbstractBody
Source§fn cmp(&self, other: &MethodAbstractBody) -> Ordering
fn cmp(&self, other: &MethodAbstractBody) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MethodAbstractBody
impl PartialEq for MethodAbstractBody
Source§impl PartialOrd for MethodAbstractBody
impl PartialOrd for MethodAbstractBody
Source§impl Serialize for MethodAbstractBody
impl Serialize for MethodAbstractBody
impl Eq for MethodAbstractBody
impl StructuralPartialEq for MethodAbstractBody
Auto Trait Implementations§
impl Freeze for MethodAbstractBody
impl RefUnwindSafe for MethodAbstractBody
impl Send for MethodAbstractBody
impl Sync for MethodAbstractBody
impl Unpin for MethodAbstractBody
impl UnwindSafe for MethodAbstractBody
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