pub struct CustomBlock {
pub name: &'static str,
pub block_type: BlockType,
pub category: &'static str,
pub spec: &'static str,
pub defaults: &'static str,
pub impl_fn: &'static str,
pub target: TargetObject,
pub pass_proc: bool,
pub pad_top: bool,
pub pad_bottom: bool,
}
Fields§
§name: &'static str
§block_type: BlockType
§category: &'static str
§spec: &'static str
§defaults: &'static str
§impl_fn: &'static str
§target: TargetObject
§pass_proc: bool
§pad_top: bool
§pad_bottom: bool
Trait Implementations§
Source§impl Clone for CustomBlock
impl Clone for CustomBlock
Source§fn clone(&self) -> CustomBlock
fn clone(&self) -> CustomBlock
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 CustomBlock
impl Debug for CustomBlock
Auto Trait Implementations§
impl Freeze for CustomBlock
impl RefUnwindSafe for CustomBlock
impl Send for CustomBlock
impl Sync for CustomBlock
impl Unpin for CustomBlock
impl UnwindSafe for CustomBlock
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