pub struct LoadingPlaceholderDef { /* private fields */ }Expand description
Implementations§
Source§impl LoadingPlaceholderDef
impl LoadingPlaceholderDef
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 LoadingPlaceholderDef
impl Clone for LoadingPlaceholderDef
Source§fn clone(&self) -> LoadingPlaceholderDef
fn clone(&self) -> LoadingPlaceholderDef
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 LoadingPlaceholderDef
impl Debug for LoadingPlaceholderDef
Source§impl<'body> ElementDefinition<'body> for LoadingPlaceholderDef
impl<'body> ElementDefinition<'body> for LoadingPlaceholderDef
Source§type Element = LoadingPlaceholder<'body>
type Element = LoadingPlaceholder<'body>
해당 정의가 생성할 수 있는 엘리먼트
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 Freeze for LoadingPlaceholderDef
impl RefUnwindSafe for LoadingPlaceholderDef
impl Send for LoadingPlaceholderDef
impl Sync for LoadingPlaceholderDef
impl Unpin for LoadingPlaceholderDef
impl UnsafeUnpin for LoadingPlaceholderDef
impl UnwindSafe for LoadingPlaceholderDef
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