pub struct ContainerDef { /* private fields */ }Expand description
Container의 정의
Implementations§
Source§impl ContainerDef
impl ContainerDef
Sourcepub const fn new(id: &'static str) -> Self
pub const fn new(id: &'static str) -> Self
Creates an element definition. Use define_elements macro instead of calling this directly.
Trait Implementations§
Source§impl Clone for ContainerDef
impl Clone for ContainerDef
Source§impl Debug for ContainerDef
impl Debug for ContainerDef
Source§impl<'body> ElementDefinition<'body> for ContainerDef
impl<'body> ElementDefinition<'body> for ContainerDef
Source§fn new_dynamic(id: String) -> Self
fn new_dynamic(id: String) -> Self
런타임에서 엘리먼트 정의를 생성합니다. 엘리먼트의 Id 등을 컴파일 타임에서 미리 알 수 없는 경우 유용합니다. Read more
Source§fn from_ref(element_ref: ElementRef<'_>) -> Result<Self, WebDynproError>
fn from_ref(element_ref: ElementRef<'_>) -> Result<Self, WebDynproError>
scraper::ElementRef에서 엘리먼트 정의를 생성합니다.Auto Trait Implementations§
impl Forget for ContainerDef
impl Freeze for ContainerDef
impl Move for ContainerDef
impl RefUnwindSafe for ContainerDef
impl Send for ContainerDef
impl Sync for ContainerDef
impl Unpin for ContainerDef
impl UnsafeUnpin for ContainerDef
impl UnwindSafe for ContainerDef
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