pub struct Chain<'s> {
pub base: Base<'s>,
pub base_ty: SegType<'s>,
pub segs: &'s [Segment<'s>],
}Expand description
一条链:基座 + 若干段。
Fields§
§base: Base<'s>基座
base_ty: SegType<'s>基座本身的类型(params 声明为可选时是 Optional)
segs: &'s [Segment<'s>]段序列,按 JS 源码顺序
Implementations§
Trait Implementations§
impl<'s> Copy for Chain<'s>
impl<'s> StructuralPartialEq for Chain<'s>
Auto Trait Implementations§
impl<'s> Forget for Chain<'s>
impl<'s> Freeze for Chain<'s>
impl<'s> Move for Chain<'s>
impl<'s> RefUnwindSafe for Chain<'s>
impl<'s> Send for Chain<'s>
impl<'s> Sync for Chain<'s>
impl<'s> Unpin for Chain<'s>
impl<'s> UnsafeUnpin for Chain<'s>
impl<'s> UnwindSafe for Chain<'s>
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